Class CommandHandlerBase<TCommandDefinition>
Represents an abstract implementation of the ICommandHandler<TCommandDefinition> interface.
public abstract class CommandHandlerBase<TCommandDefinition> : ICommandHandler<TCommandDefinition>, ICommandHandler where TCommandDefinition : CommandDefinition
Type Parameters
TCommandDefinition
- Inheritance
-
CommandHandlerBase<TCommandDefinition>
- Implements
-
ICommandHandler<TCommandDefinition>
- Derived
- Inherited Members
Methods
Run(Command)
Runs the command.
public abstract Task Run(Command command)
Parameters
command
CommandAssociated command.
Returns
- Task
A task that represents the command execution.
Update(Command)
Updates the command
.
public virtual void Update(Command command)
Parameters
command
CommandCommand to update.