C# Class TVSorter.Model.Settings

The settings.
显示文件 Open project: a-jackson/tvsorter Class Usage Examples

Public Methods

Method Description
LoadSettings ( ) : Settings

Loads the settings from the default provider.

Save ( ) : void

Saves the settings.

Private Methods

Method Description
LoadSettings ( IStorageProvider provider ) : Settings

Loads the settings from the specified provider.

OnSettingsSaved ( object sender, EventArgs e ) : void

Handles the StorageProvider's SettingsSaved event by firing the SettingsChanged event.

Save ( IStorageProvider provider ) : void

Saves the settings with the specified provider.

SetDefault ( ) : void

Sets default settings.

Settings ( ) : System

Initializes a new instance of the Settings class.

Method Details

LoadSettings() public static method

Loads the settings from the default provider.
public static LoadSettings ( ) : Settings
return Settings

Save() public method

Saves the settings.
public Save ( ) : void
return void