Summary
Executes the specified service provider.
- Assembly
- Rocket
.Surgery .Extensions .CommandLine .Abstractions .dll - Namespace
- Rocket
.Surgery .Extensions .CommandLine - Containing Type
- ICommandLine
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 |
System.Int32. |