Class JsonFileOptionsStore
- Namespace
- SurvivorsMaker.Presentation
- Assembly
- SurvivorsMaker.Presentation.dll
Device options as a SaveEnvelope JSON file, independent of profile and run.
public sealed class JsonFileOptionsStore : IOptionsStore
- Inheritance
-
JsonFileOptionsStore
- Implements
- Inherited Members
Constructors
JsonFileOptionsStore(string)
public JsonFileOptionsStore(string path)
Parameters
pathstring
Properties
File
public JsonEnvelopeFile File { get; }
Property Value
Path
public string Path { get; }
Property Value
Methods
Delete()
public void Delete()
Load()
Loads user preferences; implementations choose their fallback when no saved options exist.
public OptionsState Load()
Returns
Save(OptionsState)
Stores user preferences without coupling them to progression or the saved run.
public void Save(OptionsState options)
Parameters
optionsOptionsState