AsyncCommandBaseRun Method

Calls the RunAsync(CancellationToken) method and waits synchronously for it to complete.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public virtual int Run()

Return Value

Int32
The exit code of the command.

Implements

ICommandRun

See Also