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

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (ConId != 0L)
            {
                hash ^= ConId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Port != 0)
            {
                hash ^= Port.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ConId != 0L)
            {
                hash ^= ConId.GetHashCode();
            }
            if (loginMsg_ != null)
            {
                hash ^= LoginMsg.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (ConId != 0L)
            {
                hash ^= ConId.GetHashCode();
            }
            if (loginMsg_ != null)
            {
                hash ^= LoginMsg.GetHashCode();
            }
            if (dBAccount_ != null)
            {
                hash ^= DBAccount.GetHashCode();
            }
            return(hash);
        }
示例#4
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() + ConId.GetHashCode() + Exchange.GetHashCode());
 }