public void UpdateOrder(OrderBase order)
 {
     using (ScopedPropertyChange())
     {
         int i = m_orders.FindIndex(x => x.Id == order.Id);
         m_orders[i] = order;
     }
 }
Example #2
0
 protected MovementOrderBase([NotNull] OrderBase that)
     : base(that)
 {
 }
 public void AddOrderToBack(OrderBase order)
 {
     using (ScopedPropertyChange())
         m_orders.Add(order.Clone());
 }
 public void RemoveOrder(OrderBase order)
 {
     using (ScopedPropertyChange())
         m_orders.Remove(order);
 }
Example #5
0
 protected OrderBase([NotNull] OrderBase that)
 {
     Id = that.Id;
 }