Skip to content

PipelineStageResult<TBaseNode> Class ​

Definition ​

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

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

View source

Type Parameters ​

NameDescription
TBaseNodeThe type of nodes in the tree.

Constructors ​

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

Properties ​

NameDescription
RootThe root node of the tree after processing. Always use this rather than the root passed in, as a replacer may have replaced it.
Successtrue if the pipeline should continue to the next stage, false otherwise.

Methods ​

NameDescription
Deconstruct(Boolean, TBaseNode)Deconstructs the result.