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