Прочетете на английски Редактиране

Споделяне чрез


ICommandHandler Interface

Definition

Defines the behavior of a command.

C#
public interface ICommandHandler
Derived

Methods

Invoke(InvocationContext)
InvokeAsync(InvocationContext)

Performs an action when the associated command is invoked on the command line.

Applies to

Продукт Версии
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)