C# Class TypeInheritanceExtension, extensions

Provides the GetInheritanceTree(Type) extension method to retrieve inheritance tree information for a type.
Mostrar archivo Open project: netfx/extensions

Public Methods

Method Description
GetInheritanceTree ( this type ) : TypeInheritance

Gets the exact inheritance tree information for the given type. The first element in the inheritance is the received type itself.

Private Methods

Method Description
GetInheritanceTree ( this type, int distance ) : TypeInheritance

Method Details

GetInheritanceTree() public static method

Gets the exact inheritance tree information for the given type. The first element in the inheritance is the received type itself.
public static GetInheritanceTree ( this type ) : TypeInheritance
type this
return TypeInheritance