using System; using System.Windows.Input; namespace FWindSoft.MVVM { /// /// 命令的信息类 /// public struct CommandInfo { /// /// 命令的引用实例 /// private ICommand m_CommandReference; /// /// 命令的引用实例 /// public ICommand CommandReference { get { return m_CommandReference; } set { m_CommandReference = value; } } /// /// 命令的名字 /// private String m_CommandName; /// /// 命令的名字 /// public String CommandName { get { return m_CommandName; } set { m_CommandName = value; } } } }