C# Class SoftCircuits.WinSettings.Setting

Represents a single setting for -derived classes.
Afficher le fichier Open project: SoftCircuits/WinSettings

Méthodes publiques

Méthode Description
GetValue ( ) : object?

Gets the value of this setting.

GetValueAsString ( ) : string

Gets this setting's value as a string.

SetValue ( object value ) : void

Sets the value of this setting.

SetValueFromString ( string value ) : void

Sets this setting's value from a string.

Setting ( SoftCircuits.WinSettings.Settings settings, PropertyInfo propertyInfo, bool encrypted ) : System

Constructs a new instance of the class.

Method Details

GetValue() public méthode

Gets the value of this setting.
public GetValue ( ) : object?
Résultat object?

GetValueAsString() public méthode

Gets this setting's value as a string.
public GetValueAsString ( ) : string
Résultat string

SetValue() public méthode

Sets the value of this setting.
public SetValue ( object value ) : void
value object The value this setting should be set to.
Résultat void

SetValueFromString() public méthode

Sets this setting's value from a string.
public SetValueFromString ( string value ) : void
value string A string that represents the value this setting should be set to.
Résultat void

Setting() public méthode

Constructs a new instance of the class.
public Setting ( SoftCircuits.WinSettings.Settings settings, PropertyInfo propertyInfo, bool encrypted ) : System
settings SoftCircuits.WinSettings.Settings The class that contains /// this property (setting).
propertyInfo PropertyInfo The for this /// property.
encrypted bool Indicates whether or not this setting is /// encrypted.
Résultat System