TransformationPipelineBuilder
public sealed class TransformationPipelineBuilder
Namespace: RhoMicro.BindSight.Transformations
Inheritance:
Summary
Section titled “Summary”Builds the sequence of transformations used in TransformationPipeline.
Constructors
Section titled “Constructors”TransformationPipelineBuilder(BindSightBuilder)
Section titled “TransformationPipelineBuilder(BindSightBuilder)”public TransformationPipelineBuilder(BindSightBuilder optionsDocs)
Summary
Section titled “Summary”Builds the sequence of transformations used in TransformationPipeline.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
optionsDocs | BindSightBuilder | The options docs builder to wrap. |
Properties
Section titled “Properties”BindSight
Section titled “BindSight”public BindSightBuilder BindSight { get; }
Summary
Section titled “Summary”Gets the wrapped options docs builder.
KeyReplacements
Section titled “KeyReplacements”public KeyReplacementsBuilder KeyReplacements { get; }
Summary
Section titled “Summary”Gets a builder for configuring key replacements.
Methods
Section titled “Methods”Clear()
Section titled “Clear()”public TransformationPipelineBuilder Clear()
Summary
Section titled “Summary”Clears all transformations from the builder.
Returns
Section titled “Returns”A reference to the builder, for chaining of further method calls.
Use(Func<IServiceProvider, IOptionsModelTransformation>)
Section titled “Use(Func<IServiceProvider, IOptionsModelTransformation>)”public TransformationPipelineBuilder Use(Func<IServiceProvider, IOptionsModelTransformation> factory)
Summary
Section titled “Summary”Appends a transformation to the transformations sequence.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
factory | Func<IServiceProvider, IOptionsModelTransformation> | The factory callback using which to create the transformation. |
Returns
Section titled “Returns”A reference to the builder, for chaining of further method calls.
Use<TTransformation>()
Section titled “Use<TTransformation>()”public TransformationPipelineBuilder Use<TTransformation>() where TTransformation : class, IOptionsModelTransformation
Summary
Section titled “Summary”Appends a transformation to the transformations sequence.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
TTransformation | The type of transformation to append. | class , IOptionsModelTransformation |
Returns
Section titled “Returns”A reference to the builder, for chaining of further method calls.
UseDefaults()
Section titled “UseDefaults()”public TransformationPipelineBuilder UseDefaults()
Summary
Section titled “Summary”Attempts to append default transformations to the transformation sequence.
Remarks
Section titled “Remarks”The default transformations are (in order of execution):
Returns
Section titled “Returns”A reference to the builder, for chaining of further method calls.