C# 클래스 BudgetAnalyser.Uwp.ApplicationState.PersistApplicationStateAsXaml

상속: IPersistApplicationState
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser

공개 메소드들

메소드 설명
LoadAsync ( ) : Task>

Load the user state from the Xaml file on the local disk.

PersistApplicationStateAsXaml ( [ logger, [ folders ) : System

Initializes a new instance of the PersistApplicationStateAsXaml class.

PersistAsync ( IEnumerable modelsToPersist ) : System.Threading.Tasks.Task

Persist the user data to the Xaml file on the local disk.

보호된 메소드들

메소드 설명
FullFileName ( ) : Task

Gets the full name of the file to save the data into. The file will be overwritten. By default this will save to the application folder with the name BudgetAnalyserAppState.xml.

비공개 메소드들

메소드 설명
HandleCorruptFileFormatGracefully ( Exception exception ) : IEnumerable

메소드 상세

FullFileName() 보호된 메소드

Gets the full name of the file to save the data into. The file will be overwritten. By default this will save to the application folder with the name BudgetAnalyserAppState.xml.
protected FullFileName ( ) : Task
리턴 Task

LoadAsync() 공개 메소드

Load the user state from the Xaml file on the local disk.
/// This will be thrown if the file is invalid. ///
public LoadAsync ( ) : Task>
리턴 Task>

PersistApplicationStateAsXaml() 공개 메소드

Initializes a new instance of the PersistApplicationStateAsXaml class.
userMessageBox cannot be null.
public PersistApplicationStateAsXaml ( [ logger, [ folders ) : System
logger [
folders [
리턴 System

PersistAsync() 공개 메소드

Persist the user data to the Xaml file on the local disk.
public PersistAsync ( IEnumerable modelsToPersist ) : System.Threading.Tasks.Task
modelsToPersist IEnumerable /// All components in the App that implement so /// the implementation can go get the data to persist. ///
리턴 System.Threading.Tasks.Task