C# Класс System.Windows.Mvvm.Configuration.ConfigContext

Represents the base class for a context which can load and store configuration data.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

ConfigContext() публичный Метод

Initializes a new ConfigContext instance.
public ConfigContext ( ) : Newtonsoft.Json
Результат Newtonsoft.Json

ConfigContext() публичный Метод

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.
Результат Newtonsoft.Json

LoadAsync() публичный Метод

Loads all data from the configuration file into the context.
public LoadAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

SaveChangesAsync() публичный Метод

Saves all changes made to the context to the configuration file.
public SaveChangesAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task