Class TypeExtensions
Contains extension methods for Type instances.
Namespace: XploRe.Reflection
Assembly: XploRe.Reflection.dll
Syntax
public static class TypeExtensions : Object
Methods
Name | Description |
---|---|
IsCompilerGenerated(Type) | Determines whether this type has been generated by the compiler. |
IsGenericTypeOf(Type, Type) | Evaluates whether the provided Type, an interface or a base type thereof has a generic type definition that is equal to this Type. |
IsGenericTypeOfInstance(Type, Object) | Evaluates whether the provided object instance has a Type with an interface or a base type that has a generic type definition that is equal to this Type. |
IsSameOrSubclassOf(Type, Type) | Tests whether the provided Type is equal to or a subclass of this Type. |