C# Class Treefrog.Framework.Model.Property

Inheritance: INamedResource, ICloneable
Afficher le fichier Open project: jaquadro/Treefrog

Méthodes publiques

Méthode Description
Clone ( ) : object
FromXmlProxy ( CommonX proxy ) : Property
Parse ( string value ) : void

Parses a given string value into the underlying data type and assign it as the property's value.

ResetModified ( ) : void
ToXmlProxyX ( Property property ) : CommonX.PropertyX
TrySetName ( string name ) : bool

Méthodes protégées

Méthode Description
OnModified ( EventArgs e ) : void

Raises the Modified event.

OnValueChanged ( EventArgs e ) : void

Raises the ValueChanged event.

Property ( string name ) : System

Creates a new Property instance with a given name.

Property ( string name, Property property ) : System

Method Details

Clone() public abstract méthode

public abstract Clone ( ) : object
Résultat object

FromXmlProxy() public static méthode

public static FromXmlProxy ( CommonX proxy ) : Property
proxy Treefrog.Framework.Model.Proxy.CommonX
Résultat Property

OnModified() protected méthode

Raises the Modified event.
protected OnModified ( EventArgs e ) : void
e System.EventArgs An containing the event data.
Résultat void

OnValueChanged() protected méthode

Raises the ValueChanged event.
protected OnValueChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Résultat void

Parse() public abstract méthode

Parses a given string value into the underlying data type and assign it as the property's value.
Thrown when the underlying conversion fails. Check InnerException for specific failure information.
public abstract Parse ( string value ) : void
value string A string representation of the value to assign.
Résultat void

Property() protected méthode

Creates a new Property instance with a given name.
protected Property ( string name ) : System
name string The name of the property.
Résultat System

Property() protected méthode

protected Property ( string name, Property property ) : System
name string
property Property
Résultat System

ResetModified() public méthode

public ResetModified ( ) : void
Résultat void

ToXmlProxyX() public static méthode

public static ToXmlProxyX ( Property property ) : CommonX.PropertyX
property Property
Résultat Treefrog.Framework.Model.Proxy.CommonX.PropertyX

TrySetName() public méthode

public TrySetName ( string name ) : bool
name string
Résultat bool