Skip to content

PipelineStageResult<TBaseNode> Class

Definition

The result of running a PipelineStage<TBaseNode> or PipelineStage<TContext, TBaseNode>.

public sealed class PipelineStageResult<TBaseNode>
   where TBaseNode : Node<TBaseNode>

View source

Type Parameters

Name Description
TBaseNode The type of nodes in the tree.

Constructors

Name Description
PipelineStageResult(Boolean, TBaseNode) Initialises a new instance of the PipelineStageResult<TBaseNode> class.

Properties

Name Description
Root The root node of the tree after processing. Always use this rather than the root passed in, as a replacer may have replaced it.
Success true if the pipeline should continue to the next stage, false otherwise.

Methods

Name Description
Deconstruct(Boolean, TBaseNode) Deconstructs the result.