| 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
Single entry point for running service requests. It finds the handler for a request, runs it through the registered decorators and returns the response.
public interface ICatServiceRequestProcessor
| Methods | |
|---|---|
| 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. |
| ProcessAsync(ICatServiceRequest, CancellationToken) | Runs a service request that returns no payload. |
| ProcessAsync<TResponse>(ICatServiceRequest<TResponse>, CancellationToken) | Runs a service request that returns a payload. |