diff --git a/GFramework.Core/command/EmptyCommentInput.cs b/GFramework.Core/command/EmptyCommentInput.cs new file mode 100644 index 0000000..2d4df6e --- /dev/null +++ b/GFramework.Core/command/EmptyCommentInput.cs @@ -0,0 +1,12 @@ +using GFramework.Core.Abstractions.command; + +namespace GFramework.Core.command; + +/// +/// 空命令输入类,用于表示一个不包含任何输入参数的命令 +/// +/// +/// 该类实现了ICommandInput接口,作为命令模式中的输入参数载体 +/// 通常用于不需要额外输入参数的简单命令操作 +/// +public sealed class EmptyCommentInput : ICommandInput; \ No newline at end of file diff --git a/GFramework.Core/query/EmptyQueryInput.cs b/GFramework.Core/query/EmptyQueryInput.cs new file mode 100644 index 0000000..0d4e5eb --- /dev/null +++ b/GFramework.Core/query/EmptyQueryInput.cs @@ -0,0 +1,11 @@ +using GFramework.Core.Abstractions.query; + +namespace GFramework.Core.query; + +/// +/// 空查询输入类,用于表示不需要任何输入参数的查询操作 +/// +/// +/// 该类实现了IQueryInput接口,作为占位符使用,适用于那些不需要额外输入参数的查询场景 +/// +public sealed class EmptyQueryInput : IQueryInput; \ No newline at end of file