共用方式為


Microsoft.VisualStudio.Commanding Namespace

Classes

CommandArgs

A base class for all command arguments.

CommandExecutionContext

Represents a command execution context, which is set up by a command handler service and provided to each command handler.

CommandHandlerExtensions

Contains command handler utility extension methods.

Structs

CommandState

Returned by GetCommandState(T) and determines the state of the command.

Interfaces

IChainedCommandHandler<T>

Represents a command handler that depends on behavior of following command handlers in the command execution chain formed from same strongly-typed ICommandHandlers ordered according to their [Order] attributes.

ICommandHandler

This interface marks a class that implements at least one strongly-typed ICommandHandler<T> or IChainedCommandHandler<T>.

ICommandHandler<T>

Represents a handler for a command associated with specific CommandArgs.