mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 重构 AbstractCommand 类,添加泛型参数 TInput 并要求实现 ICommandInput 接口 - 修改 AbstractCommand.Execute 方法,传入输入参数到 OnExecute 方法 - 重构 AbstractCommand<TInput, TResult> 类,支持输入参数和返回结果 - 更新 AbstractQuery 类,添加泛型参数 TInput 和 TResult 并要求实现 IQueryInput 接口 - 创建 ICommandInput 接口作为命令输入的标记接口 - 创建 IQueryInput 接口定义查询输入规范 - 为所有抽象方法添加参数文档注释
7 lines
248 B
C#
7 lines
248 B
C#
namespace GFramework.Core.Abstractions.command;
|
|
|
|
/// <summary>
|
|
/// 命令输入接口,定义命令模式中输入数据的契约
|
|
/// 该接口作为标记接口使用,不包含任何成员定义
|
|
/// </summary>
|
|
public interface ICommandInput; |