BaseOutputBuilder<TBuilder, TOutput>.

WithCommandOutput(Action<TOutput>?) Method

Summary

fluent action to set the output-action of BaseOutputCommand<T>.

Syntax

public TBuilder WithCommandOutput(Action<TOutput>? outputAction)

Parameters

Name Type Description
outputAction Action<TOutput>? the action to perform on the output.

Return Value

Type Description
TBuilder The builder-instance for fluent re-use.
GitHub Discussion