Skip to content

PipelineBuilder<TContext, TBaseNode> Class

Definition

Fluent builder for a pipeline stage.

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

View source

Type Parameters

Name Description
TContext The type of the context.
TBaseNode The base type of nodes in the tree.

Constructors

Name Description
PipelineBuilder()

Methods

Name Description
AddParallelStage(Action<ParallelPipelineStageBuilder<TContext, TBaseNode>>) Adds a stage to the pipeline that runs Processors in parallel. Its name will be the number of the stage.
AddParallelStage(IEnumerable<Processor<TContext, 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<TContext, 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<TContext, 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<TContext, 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<TContext, 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<TContext, 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<TContext, TBaseNode>.
AddStage(IEnumerable<Processor<TContext, 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<TContext, TBaseNode>>) Adds a stage with the specified name to the pipeline with the specified Processors to be run serially.