Skip to content

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>

TResult

The type of the value returned on success.