Question

Using Ndepend; How can I get a list of all types (types only from the same assembly) that my class is using?

If there is any way to do this other than Ndepend, I'm open to suggestions.

Était-ce utile?

La solution

First right click the type and ask for types that I use directly: enter image description here

Second, a CQL query has been generated for you, and you can explore the result and group types used by assembly and/or namespaces.

enter image description here

Third, you can refine the query to match only types for one or several particular assemblies:

enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top