Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (NickName.Length != 0)
            {
                hash ^= NickName.GetHashCode();
            }
            if (Signature.Length != 0)
            {
                hash ^= Signature.GetHashCode();
            }
            if (HeadImageUrl.Length != 0)
            {
                hash ^= HeadImageUrl.GetHashCode();
            }
            if (CreateTime != 0L)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (FileSize != 0L)
            {
                hash ^= FileSize.GetHashCode();
            }
            if (FileName.Length != 0)
            {
                hash ^= FileName.GetHashCode();
            }
            if (DownUrl.Length != 0)
            {
                hash ^= DownUrl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (CityName.Length != 0)
            {
                hash ^= CityName.GetHashCode();
            }
            if (Password.Length != 0)
            {
                hash ^= Password.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #4
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (UserID != 0)
        {
            hash ^= UserID.GetHashCode();
        }
        if (GameID != 0)
        {
            hash ^= GameID.GetHashCode();
        }
        if (RoomID != 0UL)
        {
            hash ^= RoomID.GetHashCode();
        }
        if (Flag != 0)
        {
            hash ^= Flag.GetHashCode();
        }
        hash ^= dstUids_.GetHashCode();
        if (CpProto.Length != 0)
        {
            hash ^= CpProto.GetHashCode();
        }
        return(hash);
    }
Пример #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OrderID.Length != 0)
            {
                hash ^= OrderID.GetHashCode();
            }
            if (CreatedOn != 0UL)
            {
                hash ^= CreatedOn.GetHashCode();
            }
            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (TaxRate != 0)
            {
                hash ^= TaxRate.GetHashCode();
            }
            if (shippingInfo_ != null)
            {
                hash ^= ShippingInfo.GetHashCode();
            }
            hash ^= lineItems_.GetHashCode();
            return(hash);
        }
Пример #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (Password.Length != 0)
            {
                hash ^= Password.GetHashCode();
            }
            if (NickName.Length != 0)
            {
                hash ^= NickName.GetHashCode();
            }
            if (Signature.Length != 0)
            {
                hash ^= Signature.GetHashCode();
            }
            if (HeadImageData.Length != 0)
            {
                hash ^= HeadImageData.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #7
0
        public override int GetHashCode()
        {
            int hashCode = 13;

            hashCode = (hashCode * 7) + UserID.GetHashCode();
            return(hashCode);
        }
Пример #8
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (UserID != null)
         {
             hashCode = hashCode * 59 + UserID.GetHashCode();
         }
         if (MaxResults != null)
         {
             hashCode = hashCode * 59 + MaxResults.GetHashCode();
         }
         if (PageToken != null)
         {
             hashCode = hashCode * 59 + PageToken.GetHashCode();
         }
         if (ClientData != null)
         {
             hashCode = hashCode * 59 + ClientData.GetHashCode();
         }
         return(hashCode);
     }
 }
Пример #9
0
        public override int GetHashCode()
        {
            var hashCode = 1935117043;

            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + ConnectionID.GetHashCode();
            return(hashCode);
        }
Пример #10
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ UserID.GetHashCode();
            hash = (hash * 397) ^ ApplicationName.GetHashCode();

            return(hash);
        }
Пример #11
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ UserID.GetHashCode();
            hash = (hash * 397) ^ TopicID.GetHashCode();

            return(hash);
        }
Пример #12
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = VoteID;
         hashCode = (hashCode * 397) ^ UserID.GetHashCode();
         hashCode = (hashCode * 397) ^ WeekId;
         return(hashCode);
     }
 }
Пример #13
0
        public override int GetHashCode()
        {
            int hashCode = 816852927;

            hashCode = hashCode * -1521134295 + LoginHistoryID.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + StartTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EndTime.GetHashCode();
            return(hashCode);
        }
Пример #14
0
        public override int GetHashCode()
        {
            int hashCode = -1482740488;

            hashCode = hashCode * -1521134295 + UserRoleID.GetHashCode();
            hashCode = hashCode * -1521134295 + RoleID.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + HospitalID.GetHashCode();
            return(hashCode);
        }
Пример #15
0
        public override int GetHashCode()
        {
            int hashCode = -1166176521;

            hashCode = hashCode * HashConstants.MULTIPLIER + base.GetHashCode();
            hashCode = hashCode * HashConstants.MULTIPLIER + UserID.GetHashCode();
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Email);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Username);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Password);
            return(hashCode);
        }
Пример #16
0
        public override int GetHashCode()
        {
            int hashCode = -1443886894;

            hashCode = hashCode * -1521134295 + PatientMedicineID.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(MedicineDescription);

            hashCode = hashCode * -1521134295 + AppointmentID.GetHashCode();
            return(hashCode);
        }
Пример #17
0
        public override int GetHashCode()
        {
            int hashCode = 1832843767;

            hashCode = hashCode * -1521134295 + AppointmentID.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + DoctorID.GetHashCode();
            hashCode = hashCode * -1521134295 + AppDate.GetHashCode();
            hashCode = hashCode * -1521134295 + DoctorCalendarID.GetHashCode();
            hashCode = hashCode * -1521134295 + StartTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EndTime.GetHashCode();
            return(hashCode);
        }
Пример #18
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Fingerprint.GetHashCode();
         hashCode = (hashCode * 397) ^ KeyID.GetHashCode();
         hashCode = (hashCode * 397) ^ UserID.GetHashCode();
         hashCode = (hashCode * 397) ^ CreationTime.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Algorithm;
         hashCode = (hashCode * 397) ^ BitLength;
         return(hashCode);
     }
 }
Пример #19
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (UserID != 0)
        {
            hash ^= UserID.GetHashCode();
        }
        if (Status != 0)
        {
            hash ^= Status.GetHashCode();
        }
        return(hash);
    }
Пример #20
0
        public override int GetHashCode()
        {
            var hashCode = 1900018414;

            hashCode = hashCode * -1521134295 + IntervalStart.GetHashCode();
            hashCode = hashCode * -1521134295 + IntervalEnd.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(LotteryNumber);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(myID);

            hashCode = hashCode * -1521134295 + myStatus.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            return(hashCode);
        }
Пример #21
0
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hash = (int)2166136261;
         hash = (hash * 16777619) ^ UserID.GetHashCode();
         hash = (hash * 16777619) ^ UserName.GetHashCode();
         // We dont care about password, for now
         // hash = (hash * 16777619) ^ UserPassword.GetHashCode();
         hash = (hash * 16777619) ^ RoleID.GetHashCode();
         hash = (hash * 16777619) ^ RoleName.GetHashCode();
         return(hash);
     }
 }
Пример #22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            hash ^= userIDList_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (JwtIssuer != null ? JwtIssuer.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UserName != null ? UserName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UserID != null ? UserID.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ProfileID != null ? ProfileID.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TokenID != null ? TokenID.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ConsumerKey != null ? ConsumerKey.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Scope;
         hashCode = (hashCode * 397) ^ (int)Role;
         return(hashCode);
     }
 }
Пример #24
0
        public override int GetHashCode()
        {
            int hash = UserID.GetHashCode() ^ ClientID.GetHashCode() ^ IP.GetHashCode() ^ UdpPort.GetHashCode();

            if (TunnelClient != null)
            {
                hash = hash ^ TunnelClient.GetHashCode();
            }

            if (TunnelServer != null)
            {
                hash = hash ^ TunnelServer.GetHashCode();
            }

            return(hash);
        }
Пример #25
0
        public override int GetHashCode()
        {
            int hashCode = 1968497320;

            hashCode = hashCode * -1521134295 + DoctorID.GetHashCode();
            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + AppointmentID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserName);

            hashCode = hashCode * -1521134295 + StartTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EndTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(HospitalName);

            hashCode = hashCode * -1521134295 + Date.GetHashCode();
            return(hashCode);
        }
Пример #26
0
        public override int GetHashCode()
        {
            int hashCode = 61574393;

            hashCode = hashCode * HashConstants.MULTIPLIER + base.GetHashCode();
            hashCode = hashCode * HashConstants.MULTIPLIER + UserProfileID.GetHashCode();
            hashCode = hashCode * HashConstants.MULTIPLIER + UserID.GetHashCode();
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(FirstName);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(MiddleName);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(LastName);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Phone);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Address1);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(Address2);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(City);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(State);
            hashCode = hashCode * HashConstants.MULTIPLIER + StringConverter.ToHash(ZipCode);
            return(hashCode);
        }
Пример #27
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserID != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (Profile.Length != 0)
            {
                hash ^= Profile.GetHashCode();
            }
            if (EnterTime != 0)
            {
                hash ^= EnterTime.GetHashCode();
            }
            return(hash);
        }
Пример #28
0
        public override int GetHashCode()
        {
            int hashCode = 954011070;

            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FirstName);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(LastName);

            hashCode = hashCode * -1521134295 + DOB.GetHashCode();
            hashCode = hashCode * -1521134295 + Gender.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserName);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Password);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(EmailID);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(PhoneNumber);

            return(hashCode);
        }
Пример #29
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (station_ != null)
            {
                hash ^= Station.GetHashCode();
            }
            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (Message.Length != 0)
            {
                hash ^= Message.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #30
0
 public override int GetHashCode()
 {
     return(TeamID.GetHashCode() ^ UserID.GetHashCode());
 }