| 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.UNITTESTING | |
|||||
>> Cat.UnitTesting.ServiceRequests Assembly >> Cat.UnitTesting.ServiceRequests Namespace >> FakeServiceRequestProcessor Class
| 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.
public Cat.Responses.Abstractions.ICatResponse Process(Cat.ServiceRequests.Abstractions.ICatServiceRequest catServiceRequest);catServiceRequest ICatServiceRequest
The request to run.
Implements Process(ICatServiceRequest)
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.
public 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.
Implements Process<TResponse>(ICatServiceRequest<TResponse>)
Cat.Responses.Abstractions.ICatResponse<TResponse>
The response of the handler, with the payload when it succeeded.