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.QUERIES   |

Code Reference

» Cat.Queries.Abstractions Assembly » Cat.Queries.Abstractions Namespace » ICatQueryProcessor Interface

ICatQueryProcessor.Process<TQueryResult>(ICatQuery<TQueryResult>) Method

Runs a query and blocks until it finishes. Prefer ProcessAsync<TQueryResult>(ICatQuery<TQueryResult>, CancellationToken) when you can.

Cat.Responses.Abstractions.ICatResponse<TQueryResult> Process<TQueryResult>(Cat.Queries.Abstractions.ICatQuery<TQueryResult> catQuery);

Type parameters

TQueryResult

The type of the data the query returns.

Parameters

catQuery Cat.Queries.Abstractions.ICatQuery<TQueryResult>

The query to run.

Returns

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