MrKWatkins.Ast Help

PipelineBuilder<TNode> Class

Definition

Fluent builder for a pipeline stage.

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

Type Parameters

Name

Description

TNode

Constructors

Name

Description

PipelineBuilder()

Methods

Name

Description

AddParallelStage(Action<ParallelPipelineStageBuilder<TNode>>)

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

AddParallelStage(UnorderedProcessor<TNode>, UnorderedProcessor<TNode>, UnorderedProcessor<TNode> [])

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, UnorderedProcessor<TNode>, UnorderedProcessor<TNode>, UnorderedProcessor<TNode> [])

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, UnorderedProcessor<TNode>, UnorderedProcessor<TNode>, UnorderedProcessor<TNode> [])

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, UnorderedProcessor<TNode>, UnorderedProcessor<TNode>, UnorderedProcessor<TNode> [])

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<TNode>>)

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<TNode>. 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<TNode>.

AddStage(Processor<TNode>, Processor<TNode> [])

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, Processor<TNode>, Processor<TNode> [])

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

Last modified: 09 September 2024