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
TType of the command input.
- Inheritance
-
Handleable<T, Unit>Command<T>
- Implements
-
IHandleable<T, Unit>ICommand<T>IExecutable<T, bool>
- Inherited Members
Methods
Execute(T)
Executes the command.
public bool Execute(T input)
Parameters
inputTCommand input.
Returns
GetExecutor()
public Command<T>.Executor GetExecutor()