mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 移除 ICommand<TResponse> 和 ICommand 的空实现体 - 移除 IQuery<TResponse> 和 IStreamQuery<TResponse> 的空实现体 - 移除 INotification、IRequest<TResponse>、IStreamRequest<TResponse> 的空实现体 - 将 IStreamCommand<TResponse> 分离到独立文件中 - 将 IStreamQuery<TResponse> 分离到独立文件中 - 保持所有接口的核心功能不变,仅简化语法结构
9 lines
305 B
C#
9 lines
305 B
C#
namespace GFramework.Cqrs.Abstractions.Cqrs.Query;
|
|
|
|
/// <summary>
|
|
/// 表示一个 CQRS 查询。
|
|
/// 查询用于读取数据,不应产生副作用。
|
|
/// </summary>
|
|
/// <typeparam name="TResponse">查询响应类型。</typeparam>
|
|
public interface IQuery<out TResponse> : IRequest<TResponse>;
|