C# Class BudgetAnalyser.PersistenceOperations

显示文件 Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
LoadDatabase ( string fileName ) : System.Threading.Tasks.Task
OnCreateNewDatabaseCommandExecute ( ) : void
OnLoadDatabaseCommandExecute ( ) : void
OnLoadDemoDatabaseCommandExecute ( ) : void
OnSaveDatabaseCommandExecute ( ) : void
OnValidateModelsCommandExecute ( ) : void
PersistenceOperations ( [ applicationDatabaseService, [ demoFileHelper, [ uiContext ) : System
PreparePersistentStateData ( ) : MainApplicationState
SaveDatabase ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
LoadDatabase ( Func getFileName ) : System.Threading.Tasks.Task
OnPasswordSetMessageReceived ( PasswordSetMessage message ) : void
PromptToSaveIfNecessary ( ) : Task
PromptUserForFileName ( ) : string
SaveDatabase ( string title ) : Task
ValidateModel ( string title ) : bool

Method Details

LoadDatabase() public method

public LoadDatabase ( string fileName ) : System.Threading.Tasks.Task
fileName string
return System.Threading.Tasks.Task

OnCreateNewDatabaseCommandExecute() public method

public OnCreateNewDatabaseCommandExecute ( ) : void
return void

OnLoadDatabaseCommandExecute() public method

public OnLoadDatabaseCommandExecute ( ) : void
return void

OnLoadDemoDatabaseCommandExecute() public method

public OnLoadDemoDatabaseCommandExecute ( ) : void
return void

OnSaveDatabaseCommandExecute() public method

public OnSaveDatabaseCommandExecute ( ) : void
return void

OnValidateModelsCommandExecute() public method

public OnValidateModelsCommandExecute ( ) : void
return void

PersistenceOperations() public method

public PersistenceOperations ( [ applicationDatabaseService, [ demoFileHelper, [ uiContext ) : System
applicationDatabaseService [
demoFileHelper [
uiContext [
return System

PreparePersistentStateData() public method

public PreparePersistentStateData ( ) : MainApplicationState
return BudgetAnalyser.Engine.MainApplicationState

SaveDatabase() public method

public SaveDatabase ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task