| 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 » ICatCommandProcessor Interface
ICatCommandProcessor.ProcessAsync(ICatCommand, CancellationToken) Method
Runs a command.
System.Threading.Tasks.Task<Cat.Responses.Abstractions.ICatResponse> ProcessAsync(Cat.Commands.Abstractions.ICatCommand catCommand, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
catCommand ICatCommand
The command to run.
cancellationToken System.Threading.CancellationToken
Token to cancel the work.
Returns
System.Threading.Tasks.Task<ICatResponse>
The response of the handler.