Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GroupId.Length != 0)
            {
                hash ^= GroupId.GetHashCode();
            }
            hash ^= objectIds_.GetHashCode();
            if (ClassId.Length != 0)
            {
                hash ^= ClassId.GetHashCode();
            }
            if (Criteria.Length != 0)
            {
                hash ^= Criteria.GetHashCode();
            }
            if (Type.Length != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (TraversalDepth.Length != 0)
            {
                hash ^= TraversalDepth.GetHashCode();
            }
            if (ExtendedProperties != false)
            {
                hash ^= ExtendedProperties.GetHashCode();
            }
            if (Toplevelhosts != false)
            {
                hash ^= Toplevelhosts.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Alerts != false)
            {
                hash ^= Alerts.GetHashCode();
            }
            if (ExtendedProperties != false)
            {
                hash ^= ExtendedProperties.GetHashCode();
            }
            if (scope_ != null)
            {
                hash ^= Scope.GetHashCode();
            }
            if (source_ != null)
            {
                hash ^= Source.GetHashCode();
            }
            return(hash);
        }