예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelType != 0)
            {
                hash ^= LevelType.GetHashCode();
            }
            if (DayId != 0)
            {
                hash ^= DayId.GetHashCode();
            }
            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (DailylevelName != 0)
            {
                hash ^= DailylevelName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            var hashCode = 1426304211;

            hashCode = hashCode * -1521134295 + DayId.GetHashCode();
            hashCode = hashCode * -1521134295 + LowTemperature.GetHashCode();
            hashCode = hashCode * -1521134295 + HighTemperature.GetHashCode();
            return(hashCode);
        }