Dec 3, 2010 at 11:36 AM
Edited Dec 3, 2010 at 11:39 AM
You have the full name of a type (either in "dotted notation" or as array of namespace name and a plain type name) and have to find the corresponding type reference(s)/definition(s) in a set of assemblies.
What's the best way to do it?
1) Get the full dotted name of each type in each assembly with TypeHelper.GetTypeName() and collect the matching types?
2) walk the namespace and type hiearchy of each assembly and collect the leaves that are reached?