ReflectionExtensions
Reflection extension class.
Determines whether the specified type contains generic parameters.
The get assembly ex.
The get assembly full name ex.
The get base type ex.
The get constructor ex.
The get constructors ex.
public static Attribute GetCustomAttributeEx(this MethodInfo methodInfo, Type attributeType, bool inherit)
public static Attribute GetCustomAttributeEx(this PropertyInfo propertyInfo, Type attributeType, bool inherit)
The get custom attribute ex.
public static Attribute[] GetCustomAttributesEx(this MethodInfo methodInfo, Type attributeType, bool inherit)
public static Attribute[] GetCustomAttributesEx(this PropertyInfo propertyInfo, Type attributeType, bool inherit)
The get custom attributes ex.
The get custom attributes ex.
public static EventInfo GetEventEx(this Type type, string name, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get event ex.
The get event ex.
public static EventInfo[] GetEventsEx(this Type type, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get events ex.
public static FieldInfo GetFieldEx(this Type type, string name, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get field ex.
The get field ex.
public static FieldInfo[] GetFieldsEx(this Type type, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get fields ex.
The get fields ex.
The get generic arguments ex.
Gets the generic type definition of the specified type.
The get interfaces ex.
public static MethodInfo GetMethodEx(this Type type, string name, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get method ex.
The get method ex.
public static MethodInfo GetMethodEx(this Type type, string name, Type[] types, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get method ex.
public static MethodInfo GetMethodEx(this Type type, string name, Type[] types, BindingFlags bindingFlags)
The get method ex.
public static MethodInfo[] GetMethodsEx(this Type type, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get methods ex.
The get methods ex.
Gets the parent types.
public static PropertyInfo[] GetPropertiesEx(this Type type, bool flattenHierarchy = true, bool allowStaticMembers = false)
The get properties ex.
The get properties ex.
public static PropertyInfo GetPropertyEx(this Type type, string name, bool flattenHierarchy = true, bool allowStaticMembers = false, bool allowExplicitInterfaceProperties = true)
The get property ex.
public static PropertyInfo GetPropertyEx(this Type type, string name, BindingFlags bindingFlags, bool allowExplicitInterfaceProperties = true)
The get property ex.
Gets the full name of the type in a safe way. This means it checks for null first.
The has base type ex.
Returns whether the specified type implements the specified interface.
Returns whether the specified type implements the specified interface.
Determines whether the specified type is abstract.
The is assignable from ex.
Determines whether the specified type is a class.
Determines whether the specified type is a COM object.
The is enum ex.
The is generic type ex.
The is instance of type ex.
The is interface ex.
The is nested public ex.
Returns whether the specified type is a primitive type.
The is public ex.
The is serializable ex.
The is value type ex.