View on GitHub
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 » ICatServiceRequestProcessor Interface

ICatServiceRequestProcessor.Process Method

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.

ICatServiceRequestProcessor.Process(ICatServiceRequest) Method

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);

Parameters

catServiceRequest ICatServiceRequest

The request to run.

Returns

ICatResponse
The response of the handler.

ICatServiceRequestProcessor.Process<TResponse>(ICatServiceRequest<TResponse>) Method

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);

Type parameters

TResponse

The type of the payload.

Parameters

catServiceRequest Cat.ServiceRequests.Abstractions.ICatServiceRequest<TResponse>

The request to run.

Returns

Cat.Responses.Abstractions.ICatResponse<TResponse>
The response of the handler, with the payload when it succeeded.