Show / Hide Table of Contents

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 Source

LoadAction(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 value.

IValue value

The to deserialize to an IAction.

Returns
Type Description
IAction

An IAction instantiated with value.

Exceptions
Type Condition
InvalidActionException

Thrown when an IAction cannot be instantiated with given index and value.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium