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

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (ChannelAccountId.Length != 0)
            {
                hash ^= ChannelAccountId.GetHashCode();
            }
            if (Channel.Length != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (ChannelInfo.Length != 0)
            {
                hash ^= ChannelInfo.GetHashCode();
            }
            if (TimeStamp != 0L)
            {
                hash ^= TimeStamp.GetHashCode();
            }
            hash ^= users_.GetHashCode();
            if (Addication != 0)
            {
                hash ^= Addication.GetHashCode();
            }
            if (IsAdult != 0)
            {
                hash ^= IsAdult.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (PayLink.Length != 0)
            {
                hash ^= PayLink.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (ChannelAccountId.Length != 0)
            {
                hash ^= ChannelAccountId.GetHashCode();
            }
            if (UserName.Length != 0)
            {
                hash ^= UserName.GetHashCode();
            }
            if (Logo.Length != 0)
            {
                hash ^= Logo.GetHashCode();
            }
            if (Index != 0)
            {
                hash ^= Index.GetHashCode();
            }
            if (CardGatherNum != 0)
            {
                hash ^= CardGatherNum.GetHashCode();
            }
            hash ^= Apparel.GetHashCode();
            if (CreateTime != 0L)
            {
                hash ^= CreateTime.GetHashCode();
            }
            hash ^= Birthday.GetHashCode();
            if (userOther_ != null)
            {
                hash ^= UserOther.GetHashCode();
            }
            return(hash);
        }