Show / Hide Table of Contents

Interface IActionEvaluator

Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public interface IActionEvaluator

Properties

| Improve this Doc View Source

ActionLoader

The IActionLoader used by this IActionEvaluator when evaluating Blocks.

Declaration
[Pure]
IActionLoader ActionLoader { get; }
Property Value
Type Description
IActionLoader

Methods

| Improve this Doc View Source

Evaluate(IPreEvaluationBlock)

The main entry point for evaluating a IPreEvaluationBlock.

Declaration
[Pure]
IReadOnlyList<IActionEvaluation> Evaluate(IPreEvaluationBlock block)
Parameters
Type Name Description
IPreEvaluationBlock block

The block to evaluate.

Returns
Type Description
IReadOnlyList<IActionEvaluation>

The result of evaluating every IAction related to block as an IReadOnlyList<T> of ActionEvaluations.

Remarks

Publicly exposed for benchmarking.

First evaluates all IActions in Transactions of block and appends the evaluation of the BlockAction held by the instance at the end.

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