Class
ReflectionHelper

Definition

Namespace:Telerik.OpenAccess.Metadata

Assembly:Telerik.OpenAccess.dll

Syntax:

cs-api-definition
public static class ReflectionHelper

Inheritance: objectReflectionHelper

Methods

GetStorageForAutoProperty(PropertyInfo, IList<FieldInfo>)

Declaration

cs-api-definition
public static FieldInfo GetStorageForAutoProperty(PropertyInfo property, IList<FieldInfo> persistentFields)

Parameters

property

PropertyInfo

persistentFields

IList<FieldInfo>

Returns

FieldInfo

GetStorageForAutoProperty(string, IList<FieldInfo>)

Declaration

cs-api-definition
public static FieldInfo GetStorageForAutoProperty(string propertyName, IList<FieldInfo> persistentFields)

Parameters

propertyName

string

persistentFields

IList<FieldInfo>

Returns

FieldInfo

GetUnderlyingTypeForNullableType(Type)

Declaration

cs-api-definition
public static Type GetUnderlyingTypeForNullableType(Type nullableType)

Parameters

nullableType

Type

Returns

Type

IsAutoProperty(PropertyInfo)

Declaration

cs-api-definition
public static bool IsAutoProperty(PropertyInfo property)

Parameters

property

PropertyInfo

Returns

bool

IsMarkedWithAttribute<T>(MemberInfo)

Declaration

cs-api-definition
public static bool IsMarkedWithAttribute<T>(MemberInfo member)

Parameters

member

MemberInfo

Returns

bool

IsMarkedWithAttribute<T>(MemberInfo, bool)

Declaration

cs-api-definition
public static bool IsMarkedWithAttribute<T>(MemberInfo member, bool inherit)

Parameters

member

MemberInfo

inherit

bool

Returns

bool