C# Class Stetic.PropertyDescriptor

Inheritance: ItemDescriptor
Show file Open project: mono/stetic Class Usage Examples

Protected Properties

Property Type Description
defaultValue object
editorType System.Type
gladeOverride bool
isRuntimeProperty bool
label string
minimum object
translatable bool
typeConverter System.ComponentModel.TypeConverter

Public Methods

Method Description
GetRuntimeValue ( object obj ) : object
GetValue ( object obj ) : object
IsDefaultValue ( object value ) : bool
IsTranslated ( object obj ) : bool
ResetValue ( object instance ) : void
SetRuntimeValue ( object obj, object value ) : void
SetTranslated ( object obj, bool translated ) : void
SetTranslationComment ( object obj, string comment ) : void
SetTranslationContext ( object obj, string context ) : void
SetValue ( object obj, object value ) : void
StringToValue ( string value ) : object
TranslationComment ( object obj ) : string
TranslationContext ( object obj ) : string
ValueToString ( object value ) : string

Protected Methods

Method Description
Load ( XmlElement elem ) : void
PropertyDescriptor ( ) : System
PropertyDescriptor ( XmlElement elem, Stetic.ItemGroup group, ClassDescriptor klass ) : System

Method Details

GetRuntimeValue() public method

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

GetValue() public abstract method

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

IsDefaultValue() public method

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

IsTranslated() public method

public IsTranslated ( object obj ) : bool
obj object
return bool

Load() protected method

protected Load ( XmlElement elem ) : void
elem System.Xml.XmlElement
return void

PropertyDescriptor() protected method

protected PropertyDescriptor ( ) : System
return System

PropertyDescriptor() protected method

protected PropertyDescriptor ( XmlElement elem, Stetic.ItemGroup group, ClassDescriptor klass ) : System
elem System.Xml.XmlElement
group Stetic.ItemGroup
klass ClassDescriptor
return System

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

SetTranslated() public method

public SetTranslated ( object obj, bool translated ) : void
obj object
translated bool
return void

SetTranslationComment() public method

public SetTranslationComment ( object obj, string comment ) : void
obj object
comment string
return void

SetTranslationContext() public method

public SetTranslationContext ( object obj, string context ) : void
obj object
context string
return void

SetValue() public abstract method

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

StringToValue() public method

public StringToValue ( string value ) : object
value string
return object

TranslationComment() public method

public TranslationComment ( object obj ) : string
obj object
return string

TranslationContext() public method

public TranslationContext ( object obj ) : string
obj object
return string

ValueToString() public method

public ValueToString ( object value ) : string
value object
return string

Property Details

defaultValue protected property

protected object defaultValue
return object

editorType protected property

protected Type,System editorType
return System.Type

gladeOverride protected property

protected bool gladeOverride
return bool

isRuntimeProperty protected property

protected bool isRuntimeProperty
return bool

label protected property

protected string label
return string

minimum protected property

protected object minimum
return object

translatable protected property

protected bool translatable
return bool

typeConverter protected property

protected TypeConverter,System.ComponentModel typeConverter
return System.ComponentModel.TypeConverter