Interface Answers<TQuery, TResult>
Represents a query handler of a specific type of query.
Namespace: IRM.Messaging
Assembly: IRM.dll
Syntax
public interface Answers<in TQuery, out TResult>
Type Parameters
TQuery
The type of query to answer. |
TResult
The type of result returned as an answer. |
Methods
Answer(TQuery)
Called with the query to answer.
Declaration
TResult Answer(TQuery query)
Parameters
TQuery
query
The query to answer. |
Returns
TResult
|