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

            if (VersionTag.Length != 0)
            {
                hash ^= VersionTag.GetHashCode();
            }
            if (Ips.Length != 0)
            {
                hash ^= Ips.GetHashCode();
            }
            if (Ports.Length != 0)
            {
                hash ^= Ports.GetHashCode();
            }
            if (ResourceUrl.Length != 0)
            {
                hash ^= ResourceUrl.GetHashCode();
            }
            if (VersionUrl.Length != 0)
            {
                hash ^= VersionUrl.GetHashCode();
            }
            if (ShowState != false)
            {
                hash ^= ShowState.GetHashCode();
            }
            if (SelectServer != false)
            {
                hash ^= SelectServer.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
 public override int GetHashCode()
 {
     return(VersionTag.GetHashCode());
 }