CommandExecuteAsync(TextReader, TextWriter, ArgumentEnumerator, CancellationToken) - метод
Executes a command using specified IO streams and arguments.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask ExecuteAsync(
TextReader input,
TextWriter output,
ArgumentEnumerator args,
CancellationToken cancellationToken = default
)
Public Function ExecuteAsync (
input As TextReader,
output As TextWriter,
args As ArgumentEnumerator,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask ExecuteAsync(
TextReader^ input,
TextWriter^ output,
ArgumentEnumerator^ args,
CancellationToken cancellationToken = CancellationToken()
)
member ExecuteAsync :
input : TextReader *
output : TextWriter *
args : ArgumentEnumerator *
?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.
- args ArgumentEnumerator
- Command-line arguments to be passed to the command.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskAsync task.
ArgumentNullException | input, output,
or args is null. |