| 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 | REPO OVERVIEW | DEMO | CAT.SERVICEREQUESTS | |
|||||
>> Cat.ServiceRequests.Abstractions Assembly >> Cat.ServiceRequests.Abstractions Namespace >> ICatServiceRequestProcessor Interface
| Overloads | |
|---|---|
| Process(ICatServiceRequest) | Runs a service request that returns no payload and blocks until it finishes. Prefer ProcessAsync(ICatServiceRequest, CancellationToken) when you can. |
| Process<TResponse>(ICatServiceRequest<TResponse>) | Runs a service request that returns a payload and blocks until it finishes. Prefer ProcessAsync<TResponse>(ICatServiceRequest<TResponse>, CancellationToken) when you can. |
Runs a service request that returns no payload and blocks until it finishes. Prefer ProcessAsync(ICatServiceRequest, CancellationToken) when you can.
Cat.Responses.Abstractions.ICatResponse Process(Cat.ServiceRequests.Abstractions.ICatServiceRequest catServiceRequest);catServiceRequest ICatServiceRequest
The request to run.
ICatResponse
The response of the handler.
Runs a service request that returns a payload and blocks until it finishes. Prefer ProcessAsync<TResponse>(ICatServiceRequest<TResponse>, CancellationToken) when you can.
Cat.Responses.Abstractions.ICatResponse<TResponse> Process<TResponse>(Cat.ServiceRequests.Abstractions.ICatServiceRequest<TResponse> catServiceRequest);TResponse
The type of the payload.
catServiceRequest Cat.ServiceRequests.Abstractions.ICatServiceRequest<TResponse>
The request to run.
Cat.Responses.Abstractions.ICatResponse<TResponse>
The response of the handler, with the payload when it succeeded.