ICommandLine.

ExecuteAsync(IServiceProvider, CancellationToken, string[]) Method

Summary

Executes the specified service provider.

Syntax

Task<int> ExecuteAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken, params string[] args)

Parameters

Name Type Description
serviceProvider IServiceProvider The service provider.
cancellationToken CancellationToken The cancellation token.
args string[] The arguments.

Return Value

Type Description
Task<int> System.Int32.