Class ActionEvaluation
A record type to represent an evaluation plan and result of a single action.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public class ActionEvaluation : object
Constructors
| Improve this Doc View SourceActionEvaluation(IAction, IActionContext, IAccountStateDelta)
Creates an ActionEvaluation instance with filling properties.
Declaration
public ActionEvaluation(IAction action, IActionContext inputContext, IAccountStateDelta outputStates)
Parameters
Type | Name | Description |
---|---|---|
IAction | action | An action to evaluate. |
IActionContext | inputContext | An input IActionContext to
evaluate |
IAccountStateDelta | outputStates | The result states that
|
Properties
| Improve this Doc View SourceAction
An action to evaluate.
Declaration
public IAction Action { get; }
Property Value
Type | Description |
---|---|
IAction |
InputContext
An input IActionContext to evaluate Action.
Declaration
public IActionContext InputContext { get; }
Property Value
Type | Description |
---|---|
IActionContext |
Remarks
Its Random property is not consumed yet.
OutputStates
The result states that Action makes.
Declaration
public IAccountStateDelta OutputStates { get; }
Property Value
Type | Description |
---|---|
IAccountStateDelta |