예제 #1
0
 public void ReceiveOrder(OrderReadyEvent ready)
 {
     foreach (var incoming in ready.Items)
     {
         var item = OrderedItems.First(x => incoming.GetType() == x.GetType());
         DelieveredItems.Add(item);
         OrderedItems.Remove(item);
     }
 }
예제 #2
0
 public void RemoveItem(OrderedItem item)
 {
     OrderedItems.Remove(item);
 }