C# Класс SoftCircuits.WinSettings.Setting

Represents a single setting for -derived classes.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetValue() публичный Метод

Gets the value of this setting.
public GetValue ( ) : object?
Результат object?

GetValueAsString() публичный Метод

Gets this setting's value as a string.
public GetValueAsString ( ) : string
Результат string

SetValue() публичный Метод

Sets the value of this setting.
public SetValue ( object value ) : void
value object The value this setting should be set to.
Результат void

SetValueFromString() публичный Метод

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.
Результат void

Setting() публичный Метод

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.
Результат System