Method TypeIsDescendant
TypeIsDescendant(Type, Type[])
Returns true
if type
is a descendant of any type
in the array of types.
public static bool TypeIsDescendant(Type type, Type[] baseTypes)
Parameters
Returns
Remarks
This method checks all base types recursively not only the first BaseType value.
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.