Show / Hide Table of Contents

Class CommittedActionEvaluation

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

Inheritance
Object
CommittedActionEvaluation
Implements
ICommittedActionEvaluation
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
System.Object.ToString()
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public class CommittedActionEvaluation : ICommittedActionEvaluation

Constructors

| Improve this Doc View Source

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

HashDigest<SHA256> outputState

The result states that action makes.

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
Bencodex.Types.IValue
| Improve this Doc View Source

Exception

An exception that had risen during evaluation.

Declaration
public Exception Exception { get; }
Property Value
Type Description
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