Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ScheduleID.Length != 0)
            {
                hash ^= ScheduleID.GetHashCode();
            }
            if (startTime_ != null)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (endTime_ != null)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (quote_ != null)
            {
                hash ^= Quote.GetHashCode();
            }
            hash ^= strategyIDList_.GetHashCode();
            if (TimeZone != 0)
            {
                hash ^= TimeZone.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ScheduleID.Length != 0)
            {
                hash ^= ScheduleID.GetHashCode();
            }
            if (quote_ != null)
            {
                hash ^= Quote.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }