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