Interface IABRStateLoader
Generic state loader for ABR. Implementations should allow both
retrieving a state (GetState) and saving a state (SaveState).
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public interface IABRStateLoader
Methods
| Improve this Doc View SourceGetState(string)
Load a state based on some text (perhaps a JSON string, a file path, or URL)
Declaration
JObject GetState(string stateText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | stateText |
Returns
| Type | Description |
|---|---|
| JObject |
SaveState(string, string)
Save a serialized JSON state with a particular name
Declaration
void SaveState(string name, string serializedState)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | serializedState |