예제 #1
0
        public override int GetHashCode()
        {
            var hashCode = 1689275518;

            hashCode = hashCode * -1521134295 + Difference.GetHashCode();
            hashCode = hashCode * -1521134295 + IsCurrentPriceIncreasing.GetHashCode();
            hashCode = hashCode * -1521134295 + IsDifferencePositive.GetHashCode();
            hashCode = hashCode * -1521134295 + CurrentPriceBid.GetHashCode();
            hashCode = hashCode * -1521134295 + CurrentPriceAsk.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CurrentPrice);

            hashCode = hashCode * -1521134295 + TickSize.GetHashCode();
            hashCode = hashCode * -1521134295 + Rounding.GetHashCode();
            return(hashCode);
        }