ParentCommandRunAsync Method

Runs the child command that was instantiated by the Parse(ReadOnlyMemoryString, CommandManager) method asynchronously.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public virtual Task<int> RunAsync()

Return Value

TaskInt32
A task that represents the asynchronous run operation. The result of the task is the exit code of the child command, or the value of the FailureExitCode property if no child command was created.

Implements

IAsyncCommandRunAsync

See Also