Show / Hide Table of Contents

Class CommittedActionEvaluation

A record type to represent an evaluation plan and result of a single action.

Inheritance
System.Object
CommittedActionEvaluation
Implements
ICommittedActionEvaluation
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public class CommittedActionEvaluation : object, ICommittedActionEvaluation

Constructors

| Improve this Doc View Source

CommittedActionEvaluation(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 action.

HashDigest<SHA256> outputState

The result states that action makes.

System.Nullable<Exception> exception

An exception that has risen during evaluating a given action.

Properties

| Improve this Doc View Source

Action

An action to evaluate.

Declaration
public IValue Action { get; }
Property Value
Type Description
IValue
| Improve this Doc View Source

Exception

An exception that had risen during evaluation.

Declaration
public Exception? Exception { get; }
Property Value
Type Description
System.Nullable<Exception>
| Improve this Doc View Source

InputContext

An input ICommittedActionContext to evaluate Action.

Declaration
public ICommittedActionContext InputContext { get; }
Property Value
Type Description
ICommittedActionContext
Remarks

Its property is not consumed yet.

| Improve this Doc View Source

OutputState

The result states that Action makes.

Declaration
public HashDigest<SHA256> OutputState { get; }
Property Value
Type Description
HashDigest<SHA256>

Implements

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