2using System.Threading.Tasks;
12 private readonly
string category;
Generic class for persistant properties
bool LiveUpdates
If updates to the parameter should be persisted live.
bool Changed
If the property value has changed and needs to be persisted.
Static class managing delayed actions.
static void Remove(IDelayedAction Action)
Removes a delayed action
Abstract base class for view models
Generic class for persistant properties
PersistedProperty(string Category, string Name, bool LiveUpdates, T DefaultValue, IModel Model)
Generic class for persistant properties
string Category
Property Category
override async Task Action()
Method called when it is time to execute action.
async Task Save()
Saves the property to persisted storage.
async Task Load()
Loads the property from persisted storage.
Static class managing persistent settings.
static async Task< string > GetAsync(string Key, string DefaultValue)
Gets a string-valued setting.
static async Task< bool > SetAsync(string Key, string Value)
Sets a string-valued setting.
Interface for view models
Interface for persistant properties