Interface ICommandHandler<TCommand>
Can be implemented to provide basic command handling capabilites where no result is required
Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface ICommandHandler<in TCommand> : ICommandHandler, ICommandHandlerBase where TCommand : ICommand
Type Parameters
Name | Description |
---|---|
TCommand | The type of the command |
Methods
| Improve this Doc View SourceExecuteAsync(TCommand)
Executes the command
Declaration
Task ExecuteAsync(TCommand command)
Parameters
Type | Name | Description |
---|---|---|
TCommand | command | The command |
Returns
Type | Description |
---|---|
Task | An awaitable task |