Method | Description | |
---|---|---|
CreateNewAsync ( string storageKey ) : Task |
Creates a new budget analyser database graph.
|
|
LoadAsync ( string storageKey ) : Task |
Loads the Budget Analyser database graph from persistent storage.
|
|
SaveAsync ( |
Saves the Budget Analyser database graph to persistent storage.
|
|
XamlOnDiskApplicationDatabaseRepository ( ApplicationDatabase>.[ |
Initializes a new instance of the XamlOnDiskApplicationDatabaseRepository class.
|
Method | Description | |
---|---|---|
FileExists ( string budgetAnalyserDataStorage ) : bool |
Checks to see if the budget analyser identified by the budgetAnalyserDataStorage exists in storage or not.
|
|
LoadXamlAsString ( string fileName ) : string |
Loads the xaml as a string.
|
|
Serialise ( |
Serialises the specified budget analyser database to a Xaml string.
|
|
WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task |
Writes the data to local disk.
|
Method | Description | |
---|---|---|
LoadXmlFromDiskAsync ( string fileName ) : Task |
public CreateNewAsync ( string storageKey ) : Task |
||
storageKey | string | |
return | Task |
protected FileExists ( string budgetAnalyserDataStorage ) : bool | ||
budgetAnalyserDataStorage | string | The budget analyser data storage. |
return | bool |
public LoadAsync ( string storageKey ) : Task |
||
storageKey | string | |
return | Task |
protected LoadXamlAsString ( string fileName ) : string | ||
fileName | string | Name of the file. |
return | string |
public SaveAsync ( |
||
budgetAnalyserDatabase | The budget analyser database. | |
return | System.Threading.Tasks.Task |
protected Serialise ( |
||
budgetAnalyserDatabase | The budget analyser database. | |
return | string |
protected WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task | ||
fileName | string | |
data | string | |
return | System.Threading.Tasks.Task |
public XamlOnDiskApplicationDatabaseRepository ( ApplicationDatabase>.[ |
||
mapper | ApplicationDatabase>.[ | |
return | System |