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

            hash ^= AETitle.GetHashCode();
            hash ^= Name.GetHashCode();
            hash ^= Description.GetHashCode();
            hash ^= Location.GetHashCode();
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 0x5467912;

            if (AETitle != null)
            {
                hash ^= AETitle.GetHashCode();
            }
            if (HostName != null)
            {
                hash ^= HostName.GetHashCode();
            }

            hash ^= Port.GetHashCode();
            return(hash);
        }