| 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.SERVICEREQUESTS | |
|||||
Code Reference
» Cat.ServiceRequests.Abstractions Assembly » Cat.ServiceRequests.Abstractions Namespace
ICatServiceRequestHandler<TRequest,TResponse> Interface
Handles one kind of service request that returns a payload. Implement it once per request type. The module finds and registers it for you.
public interface ICatServiceRequestHandler<in TRequest,TResponse>
where TRequest : class, Cat.ServiceRequests.Abstractions.ICatServiceRequest<TResponse>
Type parameters
TRequest
The service request this handler can process.
TResponse
The type of the payload the handler returns.
| Methods | |
|---|---|
| HandleAsync(TRequest, CancellationToken) | Runs the service request. |