Redigera

Dela via


System.CommandLine.Invocation Namespace

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

Classes

InvocationContext

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

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.