public override bool Equals(object obj) { var other = obj as BitcoinDollarPair; return(PriceBTC.AlmostEquals(other.PriceBTC) && PriceUSD.AlmostEquals(other.PriceUSD)); }
public override int GetHashCode() { return(HashUtil.CombineHashes(PriceBTC.GetHashCode(), PriceUSD.GetHashCode())); }