C# Class Windows.Mvvm.Configuration.Stores.ApplicationDataStore

Represents a store that uses the application data to save the configuration data.
Inheritance: IStore
Mostra file Open project: lecode-official/mvvm-framework

Public Methods

Method Description
ApplicationDataStore ( ApplicationDataContainer applicationDataContainer ) : System

Initializes a new ApplicationDataStore instance.

LoadAsync ( ) : Task

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

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

Stores the configuration data.

Method Details

ApplicationDataStore() public method

Initializes a new ApplicationDataStore instance.
public ApplicationDataStore ( ApplicationDataContainer applicationDataContainer ) : System
applicationDataContainer Windows.Storage.ApplicationDataContainer The application data container in which the configuration is to be stored.
return System

LoadAsync() public method

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

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