System.CommandLine.Invocation Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types for handling command invocation, including context, handlers, results, middleware, and middleware ordering.
Classes
| AsynchronousCommandLineAction | |
| CommandLineAction |
Defines a behavior associated with a command line symbol. |
| InvocationContext |
Supports command invocation by providing access to parse results and other services. |
| ParseErrorAction |
Provides command line output with error details in the case of a parsing error. |
| SynchronousCommandLineAction |
Defines a synchronous behavior associated with a command line symbol. |
Interfaces
| ICommandHandler |
Defines the behavior of a command. |
| IInvocationResult |
The result of a command handler invocation. |
Enums
| MiddlewareOrder |
Designates ordering of middleware in the invocation pipeline. |
Delegates
| InvocationMiddleware |
A delegate used for adding command handler invocation middleware. |