Exemplo n.º 1
0
 public void CancelOrder(Command command)
 {
     commands.Remove(command);
     Console.WriteLine("取消订单:" + command.ToString() + "时间:" + DateTime.Now);
 }
Exemplo n.º 2
0
 public void CancelOrder(Command command)
 {
     orders.Remove(command);
     Console.WriteLine("取消订单: " + command.ToString() + " 时间: " + DateTime.Now.ToShortDateString());
 }