C# Class Stetic.TypedPropertyDescriptor

Inheritance: PropertyDescriptor
Mostra file Open project: mono/stetic Class Usage Examples

Public Methods

Method Description
GetRuntimeValue ( object obj ) : object
GetValue ( object obj ) : object
IsDefaultValue ( object value ) : bool
ResetValue ( object instance ) : void
SetRuntimeValue ( object obj, object value ) : void
SetValue ( object obj, object value ) : void
TypedPropertyDescriptor ( XmlElement elem, Stetic.ItemGroup group, TypedClassDescriptor klass ) : System

Private Methods

Method Description
FindPSpec ( PropertyInfo pinfo ) : Stetic.ParamSpec
FindProperty ( Type wrapperType, Type objectType, string propertyName ) : PropertyInfo
FindProperty ( Type type, string propertyName ) : PropertyInfo
SetDefault ( object val ) : void
SetupRuntimeProperties ( ) : void
TypedPropertyDescriptor ( Type objectType, string propertyName ) : System

Method Details

GetRuntimeValue() public method

public GetRuntimeValue ( object obj ) : object
obj object
return object

GetValue() public method

public GetValue ( object obj ) : object
obj object
return object

IsDefaultValue() public method

public IsDefaultValue ( object value ) : bool
value object
return bool

ResetValue() public method

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

SetRuntimeValue() public method

public SetRuntimeValue ( object obj, object value ) : void
obj object
value object
return void

SetValue() public method

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

TypedPropertyDescriptor() public method

public TypedPropertyDescriptor ( XmlElement elem, Stetic.ItemGroup group, TypedClassDescriptor klass ) : System
elem System.Xml.XmlElement
group Stetic.ItemGroup
klass TypedClassDescriptor
return System