Class CommittedActionEvaluation
A record type to represent an evaluation plan and result of a single action.
Inheritance
System.Object
CommittedActionEvaluation
Implements
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public class CommittedActionEvaluation : object, ICommittedActionEvaluation
Constructors
| Improve this Doc View SourceCommittedActionEvaluation(IValue, ICommittedActionContext, HashDigest<SHA256>, Nullable<Exception>)
Creates an CommittedActionEvaluation instance with filling properties.
Declaration
public CommittedActionEvaluation(IValue action, ICommittedActionContext inputContext, HashDigest<SHA256> outputState, Exception? exception = null)
Parameters
Type | Name | Description |
---|---|---|
IValue | action | An action to evaluate. |
ICommittedActionContext | inputContext | An input IActionContext to
evaluate |
HashDigest<SHA256> | outputState | The result states that
|
System.Nullable<Exception> | exception | An exception that has risen during evaluating a given
|
Properties
| Improve this Doc View SourceAction
An action to evaluate.
Declaration
public IValue Action { get; }
Property Value
Type | Description |
---|---|
IValue |
Exception
An exception that had risen during evaluation.
Declaration
public Exception? Exception { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Exception> |
InputContext
An input ICommittedActionContext to evaluate Action.
Declaration
public ICommittedActionContext InputContext { get; }
Property Value
Type | Description |
---|---|
ICommittedActionContext |
Remarks
Its
OutputState
The result states that Action makes.
Declaration
public HashDigest<SHA256> OutputState { get; }
Property Value
Type | Description |
---|---|
HashDigest<SHA256> |