Class MemoryRunStore

Namespace
SurvivorsMaker.Run
Assembly
SurvivorsMaker.Run.dll

Session-only saved-run storage that copies snapshots on load and save.

public sealed class MemoryRunStore : IRunStore
Inheritance
MemoryRunStore
Implements
Inherited Members

Constructors

MemoryRunStore()

public MemoryRunStore()

Methods

Load()

Loads the saved-run snapshot, or no snapshot when none is stored.

public RunSnapshot Load()

Returns

RunSnapshot

Save(RunSnapshot)

Stores the supplied run snapshot separately from profile and user options.

public void Save(RunSnapshot run)

Parameters

run RunSnapshot