| 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
Defines the contracts for commands: the command marker, the handlers that run them, and the processor that finds the right handler and returns an ICatResponse.
| Interfaces | |
|---|---|
| ICatCommand | Marks a command that changes state and returns a response without a payload. Handle it with ICatCommandHandler<TCommand>. |
| ICatCommandHandler<TCommand> | Handles one kind of command. Implement it once per command type. The module finds and registers it for you. |
| ICatCommandProcessor | Single entry point for running commands. It finds the handler for a command, runs it through the registered decorators and returns the response. |