Definition for registering a query with its handler within a context.
The query type
The result type returned by the handler
Readonly
Unique name for the query type.
The query class constructor.
The handler instance for this query.
Definition for registering a query with its handler within a context.