51Degrees Pipeline .NET  4.1

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder Class Reference

Detailed Description

Default pipeline builder.

Inheritance diagram for FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder:

[legend]

Collaboration diagram for FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder:

[legend]

Public Member Functions

 PipelineBuilder (ILoggerFactory loggerFactory)
Create a new PipelineBuilder instance. More...
 PipelineBuilder (ILoggerFactory loggerFactory, IServiceProvider services)
Create a new PipelineBuilder instance. More...
virtual IPipeline  BuildFromConfiguration (PipelineOptions options)
Build the pipeline using the specified configuration options. More...

Public Member Functions inherited from FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< PipelineBuilder >

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

Constructor & Destructor Documentation

◆ PipelineBuilder() [1/2]

FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder.PipelineBuilder ( ILoggerFactory   loggerFactory )

Create a new PipelineBuilder instance.

Parameters
loggerFactory - The ILoggerFactory to use when creating logger instances.

◆ PipelineBuilder() [2/2]

FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder.PipelineBuilder ( ILoggerFactory   loggerFactory,
IServiceProvider   services  
)

Create a new PipelineBuilder instance.

Parameters
loggerFactory - The ILoggerFactory to use when creating logger instances.
services - Collection of services which contain builder instances for the required elements.

Member Function Documentation

◆ BuildFromConfiguration()

virtual IPipeline FiftyOne.Pipeline.Core.FlowElements.PipelineBuilder.BuildFromConfiguration ( PipelineOptions   options )
virtual

Build the pipeline using the specified configuration options.

Parameters
options - A PipelineOptions instance describing how to build the pipeline.
Returns
A new IPipeline instance containing the configured IFlowElement instances.
Exceptions
PipelineConfigurationException -

Implements FiftyOne.Pipeline.Core.FlowElements.IPipelineBuilderFromConfiguration.