You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
449 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mesnac.Basic.Service
{
/// <summary>
/// 操作命令接口
/// </summary>
public interface ICommand
{
/// <summary>
/// 命令执行方法,对应恢复操作
/// </summary>
void execute();
/// <summary>
/// 命令撤销方法
/// </summary>
void undo();
}
}