Interface IActionLoader
An interface to load actions branched by block index.
Namespace: Libplanet.Action.Loader
Assembly: Libplanet.Action.dll
Syntax
public interface IActionLoader
Methods
| Improve this Doc View SourceLoadAction(Int64, IValue)
Loads a concrete IAction from value
given index.
Declaration
IAction LoadAction(long index, IValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | index | The index of a block to use as context for deserializing
|
| IValue | value | The |
Returns
| Type | Description |
|---|---|
| IAction | An IAction instantiated with |
Exceptions
| Type | Condition |
|---|---|
| InvalidActionException | Thrown when an IAction cannot be
instantiated with given |