Class TypePredicates
- Namespace
- Garyon.Reflection
- Assembly
- Garyon.dll
Contains a collection of predicates to apply on Type instances. Also contains several aliases for other scattered functions.
public static class TypePredicates
- Inheritance
-
TypePredicates
- Inherited Members
Methods
IsAbstractClass(Type)
Determines whether the given type is an abstract class.
public static bool IsAbstractClass(Type type)
Parameters
typeTypeThe type.
Returns
IsClass(Type)
Determines whether the given type is a class.
public static bool IsClass(Type type)
Parameters
typeTypeThe type.
Returns
IsInterface(Type)
Determines whether the given type is an interface.
public static bool IsInterface(Type type)
Parameters
typeTypeThe type.
Returns
IsNonAbstractClass(Type)
Determines whether the given type is a non-abstract class.
public static bool IsNonAbstractClass(Type type)
Parameters
typeTypeThe type.
Returns
IsStatic(Type)
Determines whether the given type is a static class.
public static bool IsStatic(Type type)
Parameters
typeTypeThe type.
Returns
IsValueType(Type)
Determines whether the given type is a value type.
public static bool IsValueType(Type type)
Parameters
typeTypeThe type.