Skip to content

IOutputTransformer

Transforms a logical value into a target output format.

public interface IOutputTransformer

TransformAsync(object?, CancellationToken)

Section titled “TransformAsync(object?, CancellationToken)”

Transforms a value to the target representation.

ValueTask<string> TransformAsync(object? value, CancellationToken cancellationToken = default)

ValueTask<string> - Transformed payload as text.

Gets the transformer format name.

string Name { get; }

string

Gets a value indicating whether this transformer can be displayed by the interactive result pager.

bool SupportsInteractivePaging { get; }

bool