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