Reflection - Find out if a type is subclassed from another type

25. February 2008

I've been writing on a dynamic rules module for AlphaStaff and dug into my framework bag to use this gem.  The following function will crawl an object's dependency graph to find out if a class is ultimately a subtype of another class.  This code sample is in VB but could be ported to C# easily.
 

Development

Comments are closed