예제 #1
0
 /// <summary>
 /// 寫出「指令開始」訊息
 /// </summary>
 /// <param name="cmd">指令基礎物件</param>
 protected virtual void WriteCommandStartMessage(CommandBase cmd)
 {
     this.WriteCommandMessage("[Command Start] ", cmd.GetType().Name);
 }
예제 #2
0
 /// <summary>
 /// 寫出「指令失敗」訊息
 /// </summary>
 /// <param name="cmd">指令基礎物件</param>
 protected virtual void WriteCommandFailMessage(CommandBase cmd)
 {
     this.WriteCommandMessage("[Command Fail]", cmd.GetType().Name);
     Console.WriteLine();
 }