Class
PropertyDescriptorHelper

Definition

Namespace:Telerik.OpenAccess.RT

Assembly:Telerik.OpenAccess.dll

Syntax:

cs-api-definition
public class PropertyDescriptorHelper

Inheritance: objectPropertyDescriptorHelper

Constructors

PropertyDescriptorHelper(Type, Hashtable, bool)

Declaration

cs-api-definition
public PropertyDescriptorHelper(Type rootType, Hashtable type2Properties, bool designMode)

Parameters

rootType

Type

type2Properties

Hashtable

designMode

bool

Methods

DeductItemTypeFromGeneric(Type)

Declaration

cs-api-definition
public static ItemTypeAttribute DeductItemTypeFromGeneric(Type t)

Parameters

t

Type

Returns

ItemTypeAttribute

GetAliasedField(PropertyInfo, bool)

Declaration

cs-api-definition
public static FieldInfo GetAliasedField(PropertyInfo pi, bool throwOnError)

Parameters

pi

PropertyInfo

throwOnError

bool

Returns

FieldInfo

GetItemProperties(PropertyDescriptor[], IModifiable, bool)

Declaration

cs-api-definition
public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors, IModifiable txnAllowsModification, bool generateReferenceWrapper)

Parameters

listAccessors

PropertyDescriptor[]

txnAllowsModification

IModifiable

generateReferenceWrapper

bool

Returns

PropertyDescriptorCollection

GetItemProperties(PropertyDescriptor[], Type, Hashtable, bool, IModifiable, bool)

Declaration

cs-api-definition
public static PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors, Type rootType, Hashtable type2Properties, bool DesignMode, IModifiable txnAllowsModification, bool generateWrapperForReference)

Parameters

listAccessors

PropertyDescriptor[]

rootType

Type

type2Properties

Hashtable

DesignMode

bool

txnAllowsModification

IModifiable

generateWrapperForReference

bool

Returns

PropertyDescriptorCollection

IsReference(Type)

Declaration

cs-api-definition
public static bool IsReference(Type t)

Parameters

t

Type

Returns

bool