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
Afficher le fichier Open project: Jedzia/NStub

Private Properties

Свойство Type Description
SettingsPropertyChanged void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
SettingsHelper ( ) : System

Initializes a new instance of the SettingsHelper class.

Private Methods

Méthode Description
SettingsPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the PropertyChanged event of the Settings control.

Method Details

Dispose() public méthode

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

LoadUpgradeSettings() public méthode

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

SettingsHelper() protected méthode

Initializes a new instance of the SettingsHelper class.
protected SettingsHelper ( ) : System
Résultat System

SettingsHelper() public méthode

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. ///
Résultat System