Edit

Share via


System.CommandLine.Invocation Namespace

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.