| 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
ICatQueryHandler<TQuery,TQueryResult> Interface
Handles one kind of query. Implement it once per query type. The module finds and registers it for you.
public interface ICatQueryHandler<in TQuery,TQueryResult>
where TQuery : class, Cat.Queries.Abstractions.ICatQuery<TQueryResult>
Type parameters
TQuery
The query this handler can answer.
TQueryResult
The type of the data the handler returns.
| Methods | |
|---|---|
| HandleAsync(TQuery, CancellationToken) | Runs the query. |