MrKWatkins.Ast 0.9.132 Help

PipelineBuilder<TBaseNode> Class

Definition

Fluent builder for a pipeline stage.

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

Type Parameters

Name

Description

TBaseNode

The base type of nodes in the tree.

Constructors

Name

Description

PipelineBuilder()

Methods

Name

Description

AddParallelStage(Action<ParallelPipelineStageBuilder<TBaseNode>>)

Adds a stage to the pipeline that runs Processors in parallel. Its name will be the number of the stage.

AddParallelStage(IEnumerable<Processor<TBaseNode>>)

Adds a stage to the pipeline with the specified Processors to be run in parallel. Its name will be the number of the stage.

AddParallelStage(String, IEnumerable<Processor<TBaseNode>>)

Adds a stage with the specified name to the pipeline with the specified Processors to be run in parallel. Its name will be the number of the stage.

AddParallelStage(Int32, IEnumerable<Processor<TBaseNode>>)

Adds a stage to the pipeline with the specified Processors to be run in parallel with the specified maximum degree of parallelism. Its name will be the number of the stage.

AddParallelStage(String, Int32, IEnumerable<Processor<TBaseNode>>)

Adds a stage with the specified name to the pipeline with the specified Processors to be run in parallel with the specified maximum degree of parallelism.

AddStage(Action<SerialPipelineStageBuilder<TBaseNode>>)

Adds a stage to the pipeline that runs Processors serially. Its name will be the number of the stage.

AddStage<TProcessor>()

Adds a stage to the pipeline with a single Processor<TBaseNode>. Its name will be the number of the stage.

AddStage<TProcessor>(String)

Adds a stage with the specified name to the pipeline with a single Processor<TBaseNode>.

AddStage(IEnumerable<Processor<TBaseNode>>)

Adds a stage to the pipeline with the specified Processors to be run serially. Its name will be the number of the stage.

AddStage(String, IEnumerable<Processor<TBaseNode>>)

Adds a stage with the specified name to the pipeline with the specified Processors to be run serially.

Last modified: 12 August 2025