Exemplo n.º 1
0
 public void ChangeState(IOrderState newState)
 {
     State = newState;
     Console.WriteLine("order state changed to {0}", State.GetType().Name);
 }