Method TypeIsDescendant
TypeIsDescendant(Type, Type)
Returns true
if specified type is a descendant of another type.
public static bool TypeIsDescendant(Type type, Type baseTypeToCheck)
Parameters
Returns
Remarks
This method checks all base types recursively not only the first BaseType value.