示例#1
0
文件: Order.cs 项目: TzarIvan/ratel
 public bool descriptionAndSymbolMatch(Order o)
 {
     return(description.Equals(o.description) && symbol.Equals(o.symbol));
 }
示例#2
0
 public void requireMatches(Position other)
 {
     Bomb.unless(symbol.Equals(other.symbol) && amountDONOTREFERENCE_.Equals(other.amountDONOTREFERENCE_),
                 () => "positions do not match: " + this + ", " + other);
 }