Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

ANN: FindTypeEx & DumpNS utilities

Hi all,

I've posted a couple of simple utilities to http://www.razorsoft.net that
might be of interest to this group. They are stuff I whipped up to help me
explore the existing .Net assemblies, specifically:

1. FindTypeEx
Finds all classes that have a base class or interface somewhere in their
derivation tree. This was discussed earlier on the DOTNET list - it's
basically a set of mods to the existing FindType sample in the SDK. Good for
finding which bits of the framework build on a given base class/interface.

2. DumpNS
Previously posted - I won't announce it again, promise! Dumps all exported
namespaces from one or more assemblies. Lets you create a
Namespace<->Assembly cross-reference in CSV format that imports nicely into
Excel. Good for getting those /r: switches right.

Not certified for use in nuclear reactors, use at your own risk, blah, blah,
blah... All the source is included, so if nothing else it's an example of
using some of the new reflection classes. Comments/suggestions welcome, as
always...

--Peter

PS: Now if Robert would just link me off his FAQ, these nifty samples/tools
would be no more than 3 clicks away from any thread on any DotNet-related
discussion group, anywhere on the Internet... :-)
[1370 byte] By [Peter Drayton] at [2007-11-9 18:21:39]