Method GetImplementationDistance
GetImplementationDistance(Type)
Returns the distance from the baseClass
in which this method is overridden/implemented
in the inheritance path between baseClass
and the given subclass subclazz
.
Declaration
public int GetImplementationDistance(Type subclazz)
Parameters
Type | Name | Description |
---|---|---|
Type | subclazz |
Returns
Type | Description |
---|---|
System.Int32 | 0 iff not overridden, else the distance to the base class |