Interface IQuery<TResult>
- Namespace
- Excalibur.Application.Requests.Queries
- Assembly
- Excalibur.Application.dll
Represents a query in the system, combining CQRS and Dispatch patterns.
public interface IQuery<TResult> : IDispatchAction<TResult>, IDispatchAction, IDispatchMessage, IActivity, IAmCorrelatable, IAmMultiTenant
Type Parameters
TResultThe type of result returned by the query.
- Inherited Members
Remarks
Queries are read-only operations that return data without modifying system state. This interface unifies the CQRS query pattern with Dispatch's action pattern.