Table of Contents

Class Command<T>

Namespace
Executables
Assembly
executables.dll

Default command implementation backed by a registered handler.

public sealed class Command<T> : Handleable<T, Unit>, IHandleable<T, Unit>, IHandleable<T, Unit, Handler<T, Unit>>, ICommand<T>, IExecutable<T, bool>

Type Parameters

T

Type of the command input.

Inheritance
Command<T>
Implements
Inherited Members

Methods

Execute(T)

Executes the command.

public bool Execute(T input)

Parameters

input T

Command input.

Returns

bool

true when a handler was invoked; otherwise, false.

GetExecutor()

public Command<T>.Executor GetExecutor()

Returns

Command<T>.Executor