共用方式為


ICommandSet Interface

Definition

Represents a set of commands.

public interface ICommandSet : IDisposable
type ICommandSet = interface
    interface IDisposable
Public Interface ICommandSet
Implements IDisposable
Derived
Implements

Properties

Commands

Gets the list of commands for this command set. Each command must have a unique Id within this collection.

Methods

InitializeAsync(IServiceBroker, Update, CancellationToken)

Allows the command set to initialize asynchronously.

Events

CommandAdded

Event to be triggered when a new command is added to the command set.

CommandRemoved

Event to be triggered when a command is removed from the command set.

Applies to