Skip to content

PipelineStageBuilder<TSelf, TStage, TBaseNode, TProcessor, TShouldContinue>.Add Method ​

Overloads ​

NameDescription
Add<TConstructableProcessor>()Adds a Processor<TBaseNode> of the specified type to the current stage.
Add(IEnumerable<TProcessor>)Adds Processors to the current stage.

Add<TConstructableProcessor>() ​

Adds a Processor<TBaseNode> of the specified type to the current stage.

c#
public TSelf Add<TConstructableProcessor>()
   where TConstructableProcessor : TProcessor, new();

View source

Type Parameters ​

NameDescription
TConstructableProcessorThe type of the processor to add.

Returns ​

TSelf

The fluent builder.

Add(IEnumerable<TProcessor>) ​

Adds Processors to the current stage.

c#
public TSelf Add(params IEnumerable<TProcessor> processors);

View source

Parameters ​

NameTypeDescription
processorsIEnumerable<TProcessor>The processors to add.

Returns ​

TSelf

The fluent builder.