C# Класс BudgetAnalyser.Uwp.ApplicationState.PersistApplicationStateAsXaml

Наследование: IPersistApplicationState
Показать файл Открыть проект

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

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