ReflectionHelper Class

Definition

Namespace: CoreMX.NET.Helpers
Assembly: CoreMX.NET (in CoreMX.NET.dll) Version: 1.0.0+7eb54d7f3459576d25646e9f286fb1fe49eac8a5
C#
public static class ReflectionHelper
Inheritance
Object    ReflectionHelper

Methods

ContainsProperty Check if a property exists in an object
GetConstants(Type) Get all the constants of a type
GetConstantsT Get all the constants of a type
GetConstantsT(T) Get all the constants of a type
GetConstantValues(Type) Get all constants with their values
GetConstantValuesT Get all constants with their values
GetConstantValuesT(T) Get all constants with their values
GetFieldAttributeT Get an attribute from a field
GetFieldValueFormat Get the format of a field
GetMemberAttributeT Get an attribute from a member
GetMethodAttributeT Get an attribute from a method
GetMethodValueFormat Get the format of a method
GetPropertyAttributeT Get an attribute from a property
GetPropertyValueFormat Get the format of a property
GetReflectionValueT Get the value of a property or field or method using reflection. Doesnt throw exceptions
GetTypeAttributeT Get an attribute from a type
IgnoreDataProperty Determine if a property should be ignored
IgnoreFieldProperty Determine if a field should be ignored
IgnoreMethodProperty Determine if a method should be ignored
IsNullOrEmptyT(T, FieldInfo, Boolean) Determine if a field is empty
IsNullOrEmptyT(T, MethodInfo, Boolean) Determine if a method is empty
IsNullOrEmptyT(T, PropertyInfo, Boolean) Determine if a property is empty
ToDataFormatString Convert an object to a data format string
ToDataFormatStringAdvanced Convert an object to a data format string
ToDataPayload Get the data payload of an object

See Also