CommandExecuteAsync(TextReader, TextWriter, TextWriter, String) - метод

Executes a command using specified IO streams and arguments.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public ValueTask ExecuteAsync(
	TextReader input,
	TextWriter output,
	TextWriter error,
	params string[]? args
)

Параметры

input  TextReader
The TextReader that represents an input stream.
output  TextWriter
The TextWriter that represents an output stream.
error  TextWriter
The TextWriter that represents an error stream.
args  String
Command-line arguments to be passed to the command.

Возвращаемое значение

ValueTask
Async task.

Исключения

ArgumentNullExceptioninput, output, or error is null.

См. также