| 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.Decorators.Logging Assembly » Cat.ServiceRequests.Decorators.Logging Namespace » LoggingDecorator Class » CatServiceRequestHandler<TRequest> Class
LoggingDecorator.CatServiceRequestHandler<TRequest>.HandleAsync(TRequest, CancellationToken) Method
Runs the service request.
public System.Threading.Tasks.Task<Cat.Responses.Abstractions.ICatResponse> HandleAsync(TRequest serviceRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
serviceRequest TRequest
The request to handle.
cancellationToken System.Threading.CancellationToken
Token to cancel the work.
Implements HandleAsync(TRequest, CancellationToken)
Returns
System.Threading.Tasks.Task<ICatResponse>
A response that tells whether the request succeeded, and why not if it failed.