CommandContextExecuteCoreAsync - метод
When overridden in a derived class, provides execution logic.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 4.0.4
protected override ValueTask ExecuteCoreAsync(
TextReader input,
TextWriter output,
TextWriter error,
ArgumentEnumerator args,
CancellationToken cancellationToken = default
)
Protected Overrides Function ExecuteCoreAsync (
input As TextReader,
output As TextWriter,
error As TextWriter,
args As ArgumentEnumerator,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
protected:
virtual ValueTask ExecuteCoreAsync(
TextReader^ input,
TextWriter^ output,
TextWriter^ error,
ArgumentEnumerator^ args,
CancellationToken cancellationToken = CancellationToken()
) override
abstract ExecuteCoreAsync :
input : TextReader *
output : TextWriter *
error : TextWriter *
args : ArgumentEnumerator *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override ExecuteCoreAsync :
input : TextReader *
output : TextWriter *
error : 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.
- error TextWriter
- The TextWriter that represents an error stream.
- args ArgumentEnumerator
- Command-line arguments which were passed to the command.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskAsync task.