public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Passwd.Length != 0)
            {
                hash ^= Passwd.GetHashCode();
            }
            if (Ver.Length != 0)
            {
                hash ^= Ver.GetHashCode();
            }
            if (Json.Length != 0)
            {
                hash ^= Json.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (Uid != 0)
                    {
                        hash ^= Uid.GetHashCode();
                    }
                    if (Passwd.Length != 0)
                    {
                        hash ^= Passwd.GetHashCode();
                    }
                    if (Cmd != 0)
                    {
                        hash ^= Cmd.GetHashCode();
                    }
                    return(hash);
                }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Account.Length != 0)
            {
                hash ^= Account.GetHashCode();
            }
            if (Passwd.Length != 0)
            {
                hash ^= Passwd.GetHashCode();
            }
            if (ZoneId != 0)
            {
                hash ^= ZoneId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }