public OrderBase AddOrder(OrderType orderType) { OrderBase order = OrderFactory.CreateOrder(this, orderType); OrderList.Add(order); OrderAdded?.Invoke(order); return(order); }
public void RemoveOrder(OrderBase order) { OrderList.Remove(order); OrderRemoved?.Invoke(order); }