public override int GetHashCode()
 {
     if (_hashValue == null)
     {
         _hashValue = HashCodeGenerator.Calculate(this.AccountId.GetHashCode(), this.InstrumentId.GetHashCode());
     }
     return(_hashValue.Value);
 }
Example #2
0
 public override int GetHashCode()
 {
     if (_hashCode == null)
     {
         _hashCode = HashCodeGenerator.Calculate(this.OpenOrderId.GetHashCode(), this.CloseOrderId.GetHashCode());
     }
     return(_hashCode.Value);
 }
Example #3
0
 public override int GetHashCode()
 {
     if (hashCode == null)
     {
         hashCode = HashCodeGenerator.Calculate(this.QuotePolicyId.GetHashCode(), this.InstrumentId.GetHashCode());
     }
     return(hashCode.Value);
 }
Example #4
0
 public override int GetHashCode()
 {
     return(HashCodeGenerator.Calculate(_boPolicyId.GetHashCode(), _boBetTypeId.GetHashCode(), _frequence.GetHashCode()));
 }
Example #5
0
 public override int GetHashCode()
 {
     return(HashCodeGenerator.Calculate(_buyLot.GetHashCode(), _sellLot.GetHashCode()));
 }
Example #6
0
 public override int GetHashCode()
 {
     return(HashCodeGenerator.Calculate(this.Buy.GetHashCode(), this.Sell.GetHashCode()));
 }
Example #7
0
 public override int GetHashCode()
 {
     return(HashCodeGenerator.Calculate(_sourceCurrencyId.GetHashCode(), _targetCurrencyId.GetHashCode()));
 }