mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
12 lines
380 B
C#
12 lines
380 B
C#
// Copyright (c) 2025-2026 GeWuYou
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
namespace GFramework.Cqrs.Abstractions.Cqrs.Query;
|
|
|
|
/// <summary>
|
|
/// 表示一个 CQRS 查询。
|
|
/// 查询用于读取数据,不应产生副作用。
|
|
/// </summary>
|
|
/// <typeparam name="TResponse">查询响应类型。</typeparam>
|
|
public interface IQuery<out TResponse> : IRequest<TResponse>;
|