IQuery<TResult> interface
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
Marker interface for a query that reads state and returns a value of type TResult.
Queries should be side-effect free and idempotent.
Handled by a single IQueryHandler<TQuery, TResult>.
public interface IQuery<TResult>Type Parameters
Section titled “Type Parameters”TResult
The type of the value returned on success.