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
312 B
C#
9 lines
312 B
C#
namespace GFramework.Cqrs.Abstractions.Cqrs;
|
|
|
|
/// <summary>
|
|
/// 表示一个有响应的 CQRS 请求。
|
|
/// 该接口是命令、查询以及其他请求语义的统一基接口。
|
|
/// </summary>
|
|
/// <typeparam name="TResponse">请求响应类型。</typeparam>
|
|
public interface IRequest<out TResponse>;
|