Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (FullChannel.Length != 0)
            {
                hash ^= FullChannel.GetHashCode();
            }
            if (ChannelAccount.Length != 0)
            {
                hash ^= ChannelAccount.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Game != 0)
            {
                hash ^= Game.GetHashCode();
            }
            if (AccountPrefix.Length != 0)
            {
                hash ^= AccountPrefix.GetHashCode();
            }
            if (FullChannel.Length != 0)
            {
                hash ^= FullChannel.GetHashCode();
            }
            if (RealChannel.Length != 0)
            {
                hash ^= RealChannel.GetHashCode();
            }
            return(hash);
        }