| Clean Architecture Toolkit for .NET | |||||
|
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications. It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design. |
|
||||
|
| HOME | MODULE OVERVIEW | DEMO | CAT.COMMANDS | |
|||||
Code Reference
» Cat.Commands.Abstractions Assembly » Cat.Commands.Abstractions Namespace
ICatCommandHandler<TCommand> Interface
Handles one kind of command. Implement it once per command type. The module finds and registers it for you.
public interface ICatCommandHandler<in TCommand>
where TCommand : class, Cat.Commands.Abstractions.ICatCommand
Type parameters
TCommand
The command this handler can run.
| Methods | |
|---|---|
| HandleAsync(TCommand, CancellationToken) | Runs the command. |