Skip to content

IsSubclassOfGeneric Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

bool IsSubclassOfGeneric(Type type, Type generic) ​

csharp
bool IsSubclassOfGeneric(Type type, Type generic)

Checks if the type is subclassed from a specific generic base class

Returns ​

True if type inherits from the generic base