Summary
Executes the specified service provider.
- Assembly
- Rocket
.Surgery .Extensions .CommandLine .Abstractions .dll - Namespace
- Rocket
.Surgery .Extensions .CommandLine - Containing Type
- ICommandLineExecutor
Syntax
Task<int> ExecuteAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
Parameters
| Name | Type | Description |
|---|---|---|
| serviceProvider | IServiceProvider | The service provider. |
| cancellationToken | CancellationToken | The cancellation token. |
Return Value
| Type | Description |
|---|---|
| Task |
