Class CommittedActionEvaluation
A record type to represent an evaluation plan and result of a single action.
Implements
Inherited Members
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public class CommittedActionEvaluation : ICommittedActionEvaluation
Constructors
| Improve this Doc View SourceCommittedActionEvaluation(IValue, ICommittedActionContext, HashDigest<SHA256>, 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 |
|---|---|---|
| Bencodex.Types.IValue | action | An action to evaluate. |
| ICommittedActionContext | inputContext | An input IActionContext to
evaluate |
| HashDigest<SHA256> | outputState | The result states that
|
| 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 |
|---|---|
| Bencodex.Types.IValue |
Exception
An exception that had risen during evaluation.
Declaration
public Exception Exception { get; }
Property Value
| Type | Description |
|---|---|
| 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> |