編集

次の方法で共有


System.CommandLine.Invocation Namespace

Provides types for handling command invocation, including context, handlers, results, middleware, and middleware ordering.

Classes

AsynchronousCommandLineAction
CommandLineAction
InvocationContext

Supports command invocation by providing access to parse results and other services.

ParseErrorAction
SynchronousCommandLineAction

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.