Esempio n. 1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + Path.GetHashCode();
                hashcode = (hashcode * 397) + DataTypeOrdinal.GetHashCode();
                hashcode = (hashcode * 397) + QueryId.GetHashCode();
                hashcode = (hashcode * 397) + TCollections.GetHashCode(DeviceMeasurements);
                hashcode = (hashcode * 397) + Header.GetHashCode();
                hashcode = (hashcode * 397) + Requestor.GetHashCode();
            }
            return(hashcode);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + Path.GetHashCode();
                hashcode = (hashcode * 397) + TCollections.GetHashCode(Aggregations);
                hashcode = (hashcode * 397) + DataTypeOrdinal.GetHashCode();
                if (__isset.timeFilterBytes)
                {
                    hashcode = (hashcode * 397) + TimeFilterBytes.GetHashCode();
                }
                hashcode = (hashcode * 397) + Header.GetHashCode();
                hashcode = (hashcode * 397) + QueryId.GetHashCode();
                hashcode = (hashcode * 397) + Requestor.GetHashCode();
                hashcode = (hashcode * 397) + TCollections.GetHashCode(DeviceMeasurements);
            }
            return(hashcode);
        }