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();
    }
}