Documentation

Command

A command can be executed as a response to a signal, set in a context. Use the inject attribute on fields to inject values from context. Use the injectParameter attribute to inject values from signal parameters. Use Command, Command or Command to make use of execution parameters, set in the Do(…) in the context.

Public Methods

SetParameters Sets the execution parameters.
PerformExecution Executes the command.
PerformRevertion Reverts the command.

Protected Methods

Execute Override this method to implement execution.
ExecuteOverTime Override this method to implement execution without releasing immediately. Be sure to not call this base method when you do so.
Revert Override this method to implement a revert execution.
RevertOverTime Override this method to implement a revert execution without releasing immediately. Be sure to not call this base method when you do so.
Release Call this when done executing or reverting over time to continue command chain.
Abort Call this method to stop the current command chain, release this command and potentially revert all released commands.