C# Class System.Windows.Mvvm.Configuration.ConfigContext

Represents the base class for a context which can load and store configuration data.
Afficher le fichier Open project: lecode-official/mvvm-framework

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ConfigContext ( ) : Newtonsoft.Json

Initializes a new ConfigContext instance.

ConfigContext ( IStore store ) : Newtonsoft.Json

Initializes a new ConfigContext instance.

LoadAsync ( ) : System.Threading.Tasks.Task

Loads all data from the configuration file into the context.

SaveChangesAsync ( ) : System.Threading.Tasks.Task

Saves all changes made to the context to the configuration file.

Method Details

ConfigContext() public méthode

Initializes a new ConfigContext instance.
public ConfigContext ( ) : Newtonsoft.Json
Résultat Newtonsoft.Json

ConfigContext() public méthode

Initializes a new ConfigContext instance.
public ConfigContext ( IStore store ) : Newtonsoft.Json
store IStore The store that is used by the configuration context to load and store data.
Résultat Newtonsoft.Json

LoadAsync() public méthode

Loads all data from the configuration file into the context.
public LoadAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SaveChangesAsync() public méthode

Saves all changes made to the context to the configuration file.
public SaveChangesAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task