C# 클래스 System.Windows.Mvvm.Configuration.ConfigContext

Represents the base class for a context which can load and store configuration data.
파일 보기 프로젝트 열기: lecode-official/mvvm-framework

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