Skip to content

PipelineResult<TBaseNode> Class ​

Definition ​

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

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

View source

Type Parameters ​

NameDescription
TBaseNodeThe type of nodes in the tree.

Constructors ​

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

Properties ​

NameDescription
LastStageRunThe name of the last stage that ran. If Success is false this is the stage that stopped the pipeline.
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 all stages in the pipeline ran, false if a stage stopped the pipeline.

Methods ​

NameDescription
Deconstruct(Boolean, TBaseNode, String)Deconstructs the result.