public void On(Sell order) { //do sell Thread.Sleep(250); Console.WriteLine("Position {0} sold for {1}", order.PositionId, order.SellingPrice); }
protected bool Equals(Sell other) { return(Equals(_destinationId, other._destinationId) && _positionId.Equals(other._positionId) && _sellingPrice == other._sellingPrice); }