Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
    }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 7
0
        public override int GetHashCode()
        {
            int hashCode = 13;

            hashCode = (hashCode * 7) + UserID.GetHashCode();
            return(hashCode);
        }
Esempio n. 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);
     }
 }
Esempio n. 9
0
        public override int GetHashCode()
        {
            var hashCode = 1935117043;

            hashCode = hashCode * -1521134295 + UserID.GetHashCode();
            hashCode = hashCode * -1521134295 + ConnectionID.GetHashCode();
            return(hashCode);
        }
Esempio n. 10
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

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

            return(hash);
        }
Esempio n. 11
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

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

            return(hash);
        }
Esempio n. 12
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = VoteID;
         hashCode = (hashCode * 397) ^ UserID.GetHashCode();
         hashCode = (hashCode * 397) ^ WeekId;
         return(hashCode);
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
     }
 }
Esempio n. 19
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (UserID != 0)
        {
            hash ^= UserID.GetHashCode();
        }
        if (Status != 0)
        {
            hash ^= Status.GetHashCode();
        }
        return(hash);
    }
Esempio n. 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);
        }
Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 30
0
 public override int GetHashCode()
 {
     return(TeamID.GetHashCode() ^ UserID.GetHashCode());
 }