Skip to content

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

Overloads

Name Description
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.

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

View source

Type Parameters

Name Description
TConstructableProcessor The type of the processor to add.

Returns

TSelf

The fluent builder.

Add(IEnumerable<TProcessor>)

Adds Processors to the current stage.

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

View source

Parameters

Name Type Description
processors IEnumerable<TProcessor> The processors to add.

Returns

TSelf

The fluent builder.