Interface IQueryHandler<TQuery, TResponse>
Represents a MediatR Query. These extend the MediatR.IRequest to allow code by contract constraints downstream.
public interface IQueryHandler<in TQuery, TResponse> : IRequestHandler<TQuery, TResponse?> where TQuery : IQuery<TResponse?>
Type Parameters
TQuery
Type for the query.
TResponse
Type for the response of the query.
- Inherited Members