C# Class 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.
Inheritance: IDisposable
显示文件 Open project: Jedzia/NStub

Private Properties

Property Type Description
SettingsPropertyChanged void

Public Methods

Method Description
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.

Protected Methods

Method Description
SettingsHelper ( ) : System

Initializes a new instance of the SettingsHelper class.

Private Methods

Method Description
SettingsPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the PropertyChanged event of the Settings control.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

LoadUpgradeSettings() public method

Load and upgrade the settings.
/// Settings and the install helper setting must be set! ///
public LoadUpgradeSettings ( ) : void
return void

SettingsHelper() protected method

Initializes a new instance of the SettingsHelper class.
protected SettingsHelper ( ) : System
return System

SettingsHelper() public method

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. ///
return System