CommandExecuteAsync(TextReader, TextWriter, CancellationToken) - метод
Executes a command using specified IO streams and arguments which will be read from the input stream.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask ExecuteAsync(
TextReader input,
TextWriter output,
CancellationToken cancellationToken = default
)
Public Function ExecuteAsync (
input As TextReader,
output As TextWriter,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask ExecuteAsync(
TextReader^ input,
TextWriter^ output,
CancellationToken cancellationToken = CancellationToken()
)
member ExecuteAsync :
input : TextReader *
output : TextWriter *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- input TextReader
- The TextReader that represents an input stream.
- output TextWriter
- The TextWriter that represents an output stream.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskAsync task.
ArgumentNullException | input, output
is null. |