Interface IActionEvaluator
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public interface IActionEvaluator
Properties
| Improve this Doc View SourceActionLoader
The IActionLoader used by this IActionEvaluator when evaluating Blocks.
Declaration
[Pure]
IActionLoader ActionLoader { get; }
Property Value
Type | Description |
---|---|
IActionLoader |
Methods
| Improve this Doc View SourceEvaluate(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
|
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.