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

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

Méthodes publiques

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

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

LoadAsync() public méthode

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

StoreAsync() public méthode

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