using System; namespace etoy { interface ICommand { /// /// 异常 /// Exception Exception { get; } /// /// 是否开始执行 /// bool Start { get; } /// /// 是否完成 /// bool Done { get; } /// /// 进度(0.0f~1.0f) /// float Progress { get; } /// /// 描述 /// string Description { get; } /// /// 执行 /// void Execute(); } }