Class QueryHandlerBase<TQuery, TResponse>
Represents a base class for query handlers.
Your QueryHandler must inherit from this base class
public abstract class QueryHandlerBase<TQuery, TResponse> : RequestHandlerBase<TQuery, TResponse> where TQuery : _IQuery<TQuery, TResponse> where TResponse : class
Type Parameters
TQueryThe type of the query being handled.
TResponseThe type of the response produced by the query handler.
- Inheritance
-
HandlerBase<TQuery, TResponse>RequestHandlerBase<TQuery, TResponse>QueryHandlerBase<TQuery, TResponse>
- Inherited Members
Constructors
QueryHandlerBase()
protected QueryHandlerBase()