PipelineBuilder<TContext, TBaseNode>.AddStage Method
Overloads
Name | Description |
---|---|
AddStage(Action<SerialPipelineStageBuilder<TContext, TBaseNode>>) | Adds a stage to the pipeline that runs Processors serially. Its name will be the number of the stage. |
Adds a stage to the pipeline with a single Processor<TContext, TBaseNode>. Its name will be the number of the stage. | |
Adds a stage with the specified name to the pipeline with a single 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. |
AddStage(Action<SerialPipelineStageBuilder<TContext, TBaseNode>>)
Adds a stage to the pipeline that runs Processors serially. Its name will be the number of the stage.
Parameters
Name | Type | Description |
---|---|---|
build | An action to perform on a SerialPipelineStageBuilder<TContext, TBaseNode> to build the pipeline. |
Returns
PipelineBuilder<TContext, TBaseNode>
The fluent builder.
AddStage<TProcessor>()
Adds a stage to the pipeline with a single Processor<TContext, TBaseNode>. Its name will be the number of the stage.
Type Parameters
Name | Description |
---|---|
TProcessor | The type of the Processor<TContext, TBaseNode>. |
Returns
PipelineBuilder<TContext, TBaseNode>
The fluent builder.
AddStage<TProcessor>(String)
Adds a stage with the specified name to the pipeline with a single Processor<TContext, TBaseNode>.
Type Parameters
Name | Description |
---|---|
TProcessor | The type of the Processor<TContext, TBaseNode>. |
Parameters
Name | Type | Description |
---|---|---|
name | The name of the stage. |
Returns
PipelineBuilder<TContext, TBaseNode>
The fluent builder.
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.
Parameters
Name | Type | Description |
---|---|---|
processors | The processors to add. |
Returns
PipelineBuilder<TContext, TBaseNode>
The fluent builder.
AddStage(String, IEnumerable<Processor<TContext, TBaseNode>>)
Adds a stage with the specified name to the pipeline with the specified Processors to be run serially.
Parameters
Name | Type | Description |
---|---|---|
name | The name of the stage. | |
processors | The processors to add. |
Returns
PipelineBuilder<TContext, TBaseNode>
The fluent builder.