C# Класс NStub.Gui.Util.SettingsHelper

Helper object that extends the standard application settings mechanism with automatic upgrade of settings.
For a detailed description see the remarks on the GoInstall Property.
Наследование: IDisposable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
SettingsPropertyChanged void

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LoadUpgradeSettings ( ) : void

Load and upgrade the settings.

SettingsHelper ( System.Configuration.ApplicationSettingsBase settings, string goinstall ) : System

Initializes a new instance of the SettingsHelper class.

Защищенные методы

Метод Описание
SettingsHelper ( ) : System

Initializes a new instance of the SettingsHelper class.

Приватные методы

Метод Описание
SettingsPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the PropertyChanged event of the Settings control.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Load and upgrade the settings.
/// Settings and the install helper setting must be set! ///
public LoadUpgradeSettings ( ) : void
Результат void

SettingsHelper() защищенный Метод

Initializes a new instance of the SettingsHelper class.
protected SettingsHelper ( ) : System
Результат System

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

Initializes a new instance of the SettingsHelper class.
public SettingsHelper ( System.Configuration.ApplicationSettingsBase settings, string goinstall ) : System
settings System.Configuration.ApplicationSettingsBase /// The settings. ///
goinstall string /// default setting parameter /// used for updating. ///
Результат System