ICommand<TResult>¶
Namespace:
SideXP.Broadcaster| Inherits from:IEvent
A Command is an actual order. This kind of event must be answered by exactly one handler that performs the action and returns TResult as a "report" of what happened. As a general rule, TResult should never be data obtainable without performing it (that would be an IRequest`1), it should only be the actual result of the operation, not the final state of the changed objects.
Type parameters
TResult: The type of value the action produces.