51Degrees Pipeline .NET  4.1

51Degrees Pipeline for .NET

FiftyOne.Pipeline.JsonBuilder.FlowElement.JsonBuilderElementBuilder Class Reference

Detailed Description

Fluent builder class for constructing JsonBuilderElement instances.

Public Member Functions

 JsonBuilderElementBuilder (ILoggerFactory loggerFactory)
Constructor More...
 JsonBuilderElementBuilder (ILoggerFactory loggerFactory, IEnumerable< JsonConverter > jsonConverters)
Constructor More...
JsonBuilderElementBuilder  SetJsonConverters (IEnumerable< JsonConverter > jsonConverters)
Set the additional JsonConverter instances to be passed to the JsonBuilderElement. More...
JsonBuilderElement  Build ()
Build and return a new JsonBuilderElement with the currently configured settings. More...

Constructor & Destructor Documentation

◆ JsonBuilderElementBuilder() [1/2]

FiftyOne.Pipeline.JsonBuilder.FlowElement.JsonBuilderElementBuilder.JsonBuilderElementBuilder ( ILoggerFactory   loggerFactory )

Constructor

Parameters
loggerFactory - The logger factory for this builder to use when creating new instances.

◆ JsonBuilderElementBuilder() [2/2]

FiftyOne.Pipeline.JsonBuilder.FlowElement.JsonBuilderElementBuilder.JsonBuilderElementBuilder ( ILoggerFactory   loggerFactory,
IEnumerable< JsonConverter >   jsonConverters  
)

Constructor

Parameters
loggerFactory - The logger factory for this builder to use when creating new instances.
jsonConverters - A list of additional JsonConverter instances for the JsonBuilderElement to use when creating the JSON output.

Member Function Documentation

◆ SetJsonConverters()

JsonBuilderElementBuilder FiftyOne.Pipeline.JsonBuilder.FlowElement.JsonBuilderElementBuilder.SetJsonConverters ( IEnumerable< JsonConverter >   jsonConverters )

Set the additional JsonConverter instances to be passed to the JsonBuilderElement.

Parameters
jsonConverters - A list of additional JsonConverter instances for the JsonBuilderElement to use when creating the JSON output.
Returns
This builder.