Class AppDataPreferenceStore
- Namespace
- The.Preferences
- Assembly
- Instagile.dll
public sealed class AppDataPreferenceStore : IPreferenceStore
- Inheritance
-
AppDataPreferenceStore
- Implements
- Inherited Members
Constructors
AppDataPreferenceStore(string)
public AppDataPreferenceStore(string filename = "Settings-{Name}.xml")
Parameters
filenamestring
Methods
LoadFromStoreAsync(CallbackEnvironment, IEntityContext)
public Task<PreferenceDictionary> LoadFromStoreAsync(CallbackEnvironment environment, IEntityContext context)
Parameters
environmentCallbackEnvironmentcontextIEntityContext
Returns
SaveToStoreAsync(CallbackEnvironment, IEntityContext, PreferenceDictionary)
public Task SaveToStoreAsync(CallbackEnvironment environment, IEntityContext context, PreferenceDictionary dictionary)
Parameters
environmentCallbackEnvironmentcontextIEntityContextdictionaryPreferenceDictionary