C# Class Tiraggo.Core.tgPropertyDescriptor

Used when DataBinding internally by EntitySpaces
Inheritance: System.ComponentModel.PropertyDescriptor
Exibir arquivo Open project: BrewDawg/Tiraggo Class Usage Examples

Protected Properties

Property Type Description
m_componentType System.Type
m_getDelegate DynamicGetValue
m_propertyType System.Type
m_setDelegate DynamicSetValue

Public Methods

Method Description
CanResetValue ( object component ) : bool
GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool
tgPropertyDescriptor ( Type componentType, string name, Type propertyType, DynamicGetValue getDelegate, DynamicSetValue setDelegate ) : System
tgPropertyDescriptor ( tgEntity entity, string name, Type propertyType ) : System
tgPropertyDescriptor ( tgEntity entity, string name, Type propertyType, tgEntity containedEntity ) : System

Method Details

CanResetValue() public method

public CanResetValue ( object component ) : bool
component object
return bool

GetValue() public method

public GetValue ( object component ) : object
component object
return object

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

public ShouldSerializeValue ( object component ) : bool
component object
return bool

tgPropertyDescriptor() public method

public tgPropertyDescriptor ( Type componentType, string name, Type propertyType, DynamicGetValue getDelegate, DynamicSetValue setDelegate ) : System
componentType System.Type
name string
propertyType System.Type
getDelegate DynamicGetValue
setDelegate DynamicSetValue
return System

tgPropertyDescriptor() public method

public tgPropertyDescriptor ( tgEntity entity, string name, Type propertyType ) : System
entity tgEntity
name string
propertyType System.Type
return System

tgPropertyDescriptor() public method

public tgPropertyDescriptor ( tgEntity entity, string name, Type propertyType, tgEntity containedEntity ) : System
entity tgEntity
name string
propertyType System.Type
containedEntity tgEntity
return System

Property Details

m_componentType protected_oe property

protected Type,System m_componentType
return System.Type

m_getDelegate protected_oe property

protected DynamicGetValue m_getDelegate
return DynamicGetValue

m_propertyType protected_oe property

protected Type,System m_propertyType
return System.Type

m_setDelegate protected_oe property

protected DynamicSetValue m_setDelegate
return DynamicSetValue