GFramework/GFramework.Core/command/EmptyCommentInput.cs
GwWuYou 38625b80db feat(core): 添加空命令和查询输入类
- 实现了EmptyCommentInput类用于表示无参数命令
- 实现了EmptyQueryInput类用于表示无参数查询
- 两个类分别实现ICommandInput和IQueryInput接口
- 提供了命令模式中输入参数的占位符实现
- 适用于不需要额外输入参数的简单操作场景
2026-01-07 22:23:05 +08:00

12 lines
425 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using GFramework.Core.Abstractions.command;
namespace GFramework.Core.command;
/// <summary>
/// 空命令输入类,用于表示一个不包含任何输入参数的命令
/// </summary>
/// <remarks>
/// 该类实现了ICommandInput接口作为命令模式中的输入参数载体
/// 通常用于不需要额外输入参数的简单命令操作
/// </remarks>
public sealed class EmptyCommentInput : ICommandInput;