\r\n

51Degrees Pipeline .NET  4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< T > Class Template Reference

Detailed Description

Abstract pipeline builder base class See the Specification

Type Constraints
T :PipelineBuilderBase<T> 

Inheritance diagram for FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< T >:

[legend]

Public Member Functions

 PipelineBuilderBase (ILoggerFactory loggerFactory)
Create a new PipelineBuilderBase<T> instance. More...
virtual IPipeline  Build ()
Build the pipeline More...
T  AddFlowElement (IFlowElement element)
Add the specified IFlowElement to the pipeline. More...
T  AddFlowElementsParallel (params IFlowElement[] elements)
Add the specified IFlowElement array to the pipeline. More...
T  SetAutoDisposeElements (bool autoDispose)
Configure the Pipeline to either call dispose on it's child FlowElements when it is disposed or not. More...
T  SetSuppressProcessException (bool suppressExceptions)
Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete. More...
T  SetSuppressProcessExceptions (bool suppressExceptions)
Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete. More...

Protected Member Functions

virtual void  OnPreBuild ()
Called just before a pipeline is built. More...

Properties

List< IFlowElement >  FlowElements [get]
The elements to be added to the pipeline More...
ILogger< T >  Logger = new List<IFlowElement>() [get]
Logger More...
ILoggerFactory  LoggerFactory [get]
A factory used to create logger instances. More...

Constructor & Destructor Documentation

Member Function Documentation

◆ AddFlowElementsParallel()

T FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< T >.AddFlowElementsParallel ( params IFlowElement []   elements )

Add the specified IFlowElement array to the pipeline.

These elements will all be started at the same time and executed in parallel using one thread for each element.

Parameters
elements - The IFlowElement array to add
Returns
This builder instance.
Exceptions
ObjectDisposedException - Thrown if any of the elements have already been disposed.

◆ SetSuppressProcessException()

T FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< T >.SetSuppressProcessException ( bool   suppressExceptions )

Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete.

Parameters
suppressExceptions - If true then Pipeline will suppress exceptions added to IFlowData.Errors.
Returns
This builder instance.

◆ SetSuppressProcessExceptions()

T FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< T >.SetSuppressProcessExceptions ( bool   suppressExceptions )

Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete.

Parameters
suppressExceptions - If true then Pipeline will suppress exceptions added to IFlowData.Errors.
Returns
This builder instance.

Property Documentation