TransformationPipeline
public sealed class TransformationPipeline
Namespace: RhoMicro.BindSight.Transformations
Inheritance:
DirectoryTransformationPipeline
Summary
Section titled “Summary”Sequentially executes transformations on a list of option models.
Constructors
Section titled “Constructors”TransformationPipeline(IEnumerable<IOptionsModelTransformation>, ILogger<TransformationPipeline>)
Section titled “TransformationPipeline(IEnumerable<IOptionsModelTransformation>, ILogger<TransformationPipeline>)”public TransformationPipeline(IEnumerable<IOptionsModelTransformation> transformations, ILogger<TransformationPipeline> logger)
Summary
Section titled “Summary”Sequentially executes transformations on a list of option models.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
logger | ILogger<TransformationPipeline> | The logger to use. |
transformations | IEnumerable<IOptionsModelTransformation> | The sequence of transformations to execute. |
Methods
Section titled “Methods”TransformOptions(ImmutableArray<OptionsModel>, CancellationToken)
Section titled “TransformOptions(ImmutableArray<OptionsModel>, CancellationToken)”public ValueTask<ImmutableArray<OptionsModel>> TransformOptions(ImmutableArray<OptionsModel> options, CancellationToken ct)
Summary
Section titled “Summary”Transforms a list of options models.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
ct | CancellationToken | The cancellation token used to request pipeline execution to be cancelled. |
options | ImmutableArray<OptionsModel> | The options to transform. |
Returns
Section titled “Returns”A task, that, upon completion, will contain the resulting list of models.