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