HasInterfaceOrBaseClass(Type, Type, bool)

public static bool HasInterfaceOrBaseClass(Type type, Type baseType, bool includeSelf = True)
Returns:
bool

Parameters

type Type
baseType Type
includeSelf bool

HasInterfaceOrBaseClass<T>(Type, bool)

public static bool HasInterfaceOrBaseClass<T>(Type type, bool includeSelf = True)
Returns:
bool

Parameters

type Type
includeSelf bool

Type Parameters

T
In this article