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

            hash ^= ServerServiceName.GetHashCode();
            hash ^= ClientServiceName.GetHashCode();
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ServerServiceName.Length != 0)
            {
                hash ^= ServerServiceName.GetHashCode();
            }
            if (ClientServiceName.Length != 0)
            {
                hash ^= ClientServiceName.GetHashCode();
            }
            return(hash);
        }