Summary
Provides extension methods on types involved in the Reflection API.
Static methods
IEnumerable<FieldInfo> | |
Returns all fields contained in the specified type, including private fields inherited from base classes. |
IEnumerable<PropertyInfo> | |
Returns all properties contained in the specified type, including private properties inherited from base
classes. |
object | |
Returns the equivalent of default(T) for a Type object. For reference or nullable types, this is
null , while for value types, it is the default value (e.g. false , 0 , etc.). |
bool | | Determines whether a property has a public getter. |
bool | |
Indicates whether one or more instance of the specified attribute type is applied to this parameter. |
bool | IsDefined<T>(this MemberInfo member, bool inherit = false) |
Indicates whether one or more instance of the specified attribute type is applied to this member. |
bool | | Determines whether a property is static. |
bool | |
Determines whether the current type is, derives from, or implements the specified generic type, and determines
that type’s generic type parameters. |