Skip to content

PipelineResult<TBaseNode> Class

Definition

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

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

View source

Type Parameters

Name Description
TBaseNode The type of nodes in the tree.

Constructors

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

Properties

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

Methods

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