Ejemplo n.º 1
0
 public bool descriptionAndSymbolMatch(Order o)
 {
     return(description.Equals(o.description) && symbol.Equals(o.symbol));
 }
Ejemplo n.º 2
0
 public void requireMatches(Position other)
 {
     Bomb.unless(symbol.Equals(other.symbol) && amountDONOTREFERENCE_.Equals(other.amountDONOTREFERENCE_),
                 () => "positions do not match: " + this + ", " + other);
 }