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

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

Private Properties

Property Type Description

Public Methods

Method 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 method

Initializes a new ConfigContext instance.
public ConfigContext ( ) : Newtonsoft.Json
return Newtonsoft.Json

ConfigContext() public method

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.
return Newtonsoft.Json

LoadAsync() public method

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

SaveChangesAsync() public method

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