RootExclusionTransformation
public sealed class RootExclusionTransformation
Namespace: RhoMicro.BindSight.Transformations
Inheritance:
Summary
Section titled “Summary”Excludes option models based on their root type.
Constructors
Section titled “Constructors”RootExclusionTransformation(IRootExclusionOptions)
Section titled “RootExclusionTransformation(IRootExclusionOptions)”public RootExclusionTransformation(IRootExclusionOptions options)
Summary
Section titled “Summary”Excludes option models based on their root type.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
options | IRootExclusionOptions | The options to use when excluding options. |
Methods
Section titled “Methods”Transform(OptionsModel, CancellationToken)
Section titled “Transform(OptionsModel, CancellationToken)”public ValueTask<OptionsModel?> Transform(OptionsModel model, [CancellationToken cancellationToken = default(CancellationToken)])
Summary
Section titled “Summary”Transforms or filters an options model.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
cancellationToken | CancellationToken | The cancellation token used to request cancellation of the transformation. |
model | OptionsModel | The model to transform or filter. |
Returns
Section titled “Returns”A task, that, upon completion, will contain the transformed model, ornull
if the options are to be filtered.