Skip to content

ChildExclusionTransformation

public sealed class ChildExclusionTransformation

Namespace: RhoMicro.BindSight.Transformations

Inheritance:

Excludes specified properties and generic argument leaves from children.

ChildExclusionTransformation(IChildExclusionOptions)
Section titled “ChildExclusionTransformation(IChildExclusionOptions)”
public ChildExclusionTransformation(IChildExclusionOptions options)

Excludes specified properties and generic argument leaves from children.

NameTypeDescription
optionsIChildExclusionOptionsThe options to use when excluding children.
Transform(OptionsModel, CancellationToken)
Section titled “Transform(OptionsModel, CancellationToken)”
public ValueTask<OptionsModel?> Transform(OptionsModel model, [CancellationToken cancellationToken = default(CancellationToken)])

Transforms or filters an options model.

NameTypeDescription
cancellationTokenCancellationTokenThe cancellation token used to request cancellation of the transformation.
modelOptionsModelThe model to transform or filter.

A task, that, upon completion, will contain the transformed model, ornull if the options are to be filtered.