C# Class System.Windows.Mvvm.Configuration.Stores.SettingsStore

Represents a store that uses the settings to save the configuration data.
Inheritance: IStore
显示文件 Open project: lecode-official/mvvm-framework

Public Methods

Method Description
LoadAsync ( ) : Task

Loads the stores configuration data and returns them as serialized string.

SettingsStore ( System.Configuration.ApplicationSettingsBase settings ) : System.Configuration

Initializes a new SettingsStore instance.

SettingsStore ( System.Configuration.ApplicationSettingsBase settings, string propertyName ) : System.Configuration

Initializes a new SettingsStore instance.

StoreAsync ( string content ) : System.Threading.Tasks.Task

Stores the configuration data.

Method Details

LoadAsync() public method

Loads the stores configuration data and returns them as serialized string.
public LoadAsync ( ) : Task
return Task

SettingsStore() public method

Initializes a new SettingsStore instance.
public SettingsStore ( System.Configuration.ApplicationSettingsBase settings ) : System.Configuration
settings System.Configuration.ApplicationSettingsBase The settings that are used to store the configuration data.
return System.Configuration

SettingsStore() public method

Initializes a new SettingsStore instance.
public SettingsStore ( System.Configuration.ApplicationSettingsBase settings, string propertyName ) : System.Configuration
settings System.Configuration.ApplicationSettingsBase The settings that are used to store the configuration data.
propertyName string The name of the property which is used to store the settings.
return System.Configuration

StoreAsync() public method

Stores the configuration data.
public StoreAsync ( string content ) : System.Threading.Tasks.Task
content string The serializes configuration data.
return System.Threading.Tasks.Task