Skip to content

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

Definition ​

Sets a function to determine whether processing should continue after this stage or not. Any previously registered function will be replaced. By default, processing will not continue if there are any errors in the tree.

c#
public TSelf WithShouldContinue(TShouldContinue? shouldContinue);

View source

Parameters ​

NameTypeDescription
shouldContinueTShouldContinueA function that takes the root node and returns true if processing should continue, false otherwise.

Returns ​

TSelf

The fluent builder.