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.

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top