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);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hashCode = 0;

            hashCode = hashCode ^ Id1.GetHashCode() ^ Id2.GetHashCode() ^ Id3.GetHashCode();

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            if (Res != 0)
            {
                hash ^= Res.GetHashCode();
            }
            if (Lastgsid != 0)
            {
                hash ^= Lastgsid.GetHashCode();
            }
            if (Lastgsname.Length != 0)
            {
                hash ^= Lastgsname.GetHashCode();
            }
            hash ^= gslist_.GetHashCode();
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (Time != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (Json.Length != 0)
            {
                hash ^= Json.GetHashCode();
            }
            if (Remainsec != 0)
            {
                hash ^= Remainsec.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Ontime != 0)
            {
                hash ^= Ontime.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            hash ^= key_.GetHashCode();
            return(hash);
        }
예제 #5
0
 public override int GetHashCode()
 {
     return((Id1 << 16) ^ Id2.GetHashCode());
 }
 public override int GetHashCode()
 => Id1.GetHashCode() ^ Id2.GetHashCode() ^ (DataValue is null ? 0 : DataValue.GetHashCode());
 public override int GetHashCode()
 {
     return(Id.GetHashCode() ^ Id2.GetHashCode());
 }