Table of Contents

Interface IQueryHandler<TQuery, TResponse>

Namespace
Whipstaff.MediatR
Assembly
Whipstaff.MediatR.dll

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