GeWuYou d881bd5ad1 refactor(cqrs): 简化接口定义并分离流式命令和查询接口
- 移除 ICommand<TResponse> 和 ICommand 的空实现体
- 移除 IQuery<TResponse> 和 IStreamQuery<TResponse> 的空实现体
- 移除 INotification、IRequest<TResponse>、IStreamRequest<TResponse> 的空实现体
- 将 IStreamCommand<TResponse> 分离到独立文件中
- 将 IStreamQuery<TResponse> 分离到独立文件中
- 保持所有接口的核心功能不变,仅简化语法结构
2026-04-15 19:02:53 +08:00

21 lines
860 B
C#

// Copyright (c) 2026 GeWuYou
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace GFramework.Cqrs.Abstractions.Cqrs.Query;
/// <summary>
/// 表示一个流式 CQRS 查询。
/// </summary>
/// <typeparam name="TResponse">流式响应元素类型。</typeparam>
public interface IStreamQuery<out TResponse> : IStreamRequest<TResponse>;