| 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.QUERIES | |
|||||
Code Reference
» Cat.Queries.Abstractions Assembly » Cat.Queries.Abstractions Namespace
ICatQueryProcessor Interface
Single entry point for running queries. It finds the handler for a query, runs it through the registered decorators and returns the response.
public interface ICatQueryProcessor
| Methods | |
|---|---|
| Process<TQueryResult>(ICatQuery<TQueryResult>) | Runs a query and blocks until it finishes. Prefer ProcessAsync<TQueryResult>(ICatQuery<TQueryResult>, CancellationToken) when you can. |
| ProcessAsync<TQueryResult>(ICatQuery<TQueryResult>, CancellationToken) | Runs a query. |