Beispiel #1
0
        public override bool Equals(object obj)
        {
            var other = obj as BitcoinDollarPair;

            return(PriceBTC.AlmostEquals(other.PriceBTC) && PriceUSD.AlmostEquals(other.PriceUSD));
        }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(HashUtil.CombineHashes(PriceBTC.GetHashCode(), PriceUSD.GetHashCode()));
 }