/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (SchedulerPeriod != null)
         {
             hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode();
         }
         if (SchedulerConcurrent != null)
         {
             hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode();
         }
         if (GoodLinkTestInterval != null)
         {
             hashCode = hashCode * 59 + GoodLinkTestInterval.GetHashCode();
         }
         if (BadLinkTestInterval != null)
         {
             hashCode = hashCode * 59 + BadLinkTestInterval.GetHashCode();
         }
         if (LinkUnusedInterval != null)
         {
             hashCode = hashCode * 59 + LinkUnusedInterval.GetHashCode();
         }
         if (ConnectionTimeout != null)
         {
             hashCode = hashCode * 59 + ConnectionTimeout.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if OrgApacheSlingServletsPostImplHelperChunkCleanUpTaskProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingServletsPostImplHelperChunkCleanUpTaskProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingServletsPostImplHelperChunkCleanUpTaskProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SchedulerExpression == other.SchedulerExpression ||
                     SchedulerExpression != null &&
                     SchedulerExpression.Equals(other.SchedulerExpression)
                     ) &&
                 (
                     SchedulerConcurrent == other.SchedulerConcurrent ||
                     SchedulerConcurrent != null &&
                     SchedulerConcurrent.Equals(other.SchedulerConcurrent)
                 ) &&
                 (
                     ChunkCleanupAge == other.ChunkCleanupAge ||
                     ChunkCleanupAge != null &&
                     ChunkCleanupAge.Equals(other.ChunkCleanupAge)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (SchedulerPeriod != null)
         {
             hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode();
         }
         if (SchedulerConcurrent != null)
         {
             hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode();
         }
         if (Path != null)
         {
             hashCode = hashCode * 59 + Path.GetHashCode();
         }
         if (Workspace != null)
         {
             hashCode = hashCode * 59 + Workspace.GetHashCode();
         }
         if (KeywordsPath != null)
         {
             hashCode = hashCode * 59 + KeywordsPath.GetHashCode();
         }
         if (AsyncEntries != null)
         {
             hashCode = hashCode * 59 + AsyncEntries.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 4
0
        /// <summary>
        /// Returns true if ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SchedulerPeriod == other.SchedulerPeriod ||
                     SchedulerPeriod != null &&
                     SchedulerPeriod.Equals(other.SchedulerPeriod)
                     ) &&
                 (
                     SchedulerConcurrent == other.SchedulerConcurrent ||
                     SchedulerConcurrent != null &&
                     SchedulerConcurrent.Equals(other.SchedulerConcurrent)
                 ) &&
                 (
                     ServiceBadLinkToleranceInterval == other.ServiceBadLinkToleranceInterval ||
                     ServiceBadLinkToleranceInterval != null &&
                     ServiceBadLinkToleranceInterval.Equals(other.ServiceBadLinkToleranceInterval)
                 ) &&
                 (
                     ServiceCheckOverridePatterns == other.ServiceCheckOverridePatterns ||
                     ServiceCheckOverridePatterns != null &&
                     ServiceCheckOverridePatterns.Equals(other.ServiceCheckOverridePatterns)
                 ) &&
                 (
                     ServiceCacheBrokenInternalLinks == other.ServiceCacheBrokenInternalLinks ||
                     ServiceCacheBrokenInternalLinks != null &&
                     ServiceCacheBrokenInternalLinks.Equals(other.ServiceCacheBrokenInternalLinks)
                 ) &&
                 (
                     ServiceSpecialLinkPrefix == other.ServiceSpecialLinkPrefix ||
                     ServiceSpecialLinkPrefix != null &&
                     ServiceSpecialLinkPrefix.Equals(other.ServiceSpecialLinkPrefix)
                 ) &&
                 (
                     ServiceSpecialLinkPatterns == other.ServiceSpecialLinkPatterns ||
                     ServiceSpecialLinkPatterns != null &&
                     ServiceSpecialLinkPatterns.Equals(other.ServiceSpecialLinkPatterns)
                 ));
        }
        /// <summary>
        /// Returns true if ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SchedulerPeriod == other.SchedulerPeriod ||
                     SchedulerPeriod != null &&
                     SchedulerPeriod.Equals(other.SchedulerPeriod)
                     ) &&
                 (
                     SchedulerConcurrent == other.SchedulerConcurrent ||
                     SchedulerConcurrent != null &&
                     SchedulerConcurrent.Equals(other.SchedulerConcurrent)
                 ) &&
                 (
                     GoodLinkTestInterval == other.GoodLinkTestInterval ||
                     GoodLinkTestInterval != null &&
                     GoodLinkTestInterval.Equals(other.GoodLinkTestInterval)
                 ) &&
                 (
                     BadLinkTestInterval == other.BadLinkTestInterval ||
                     BadLinkTestInterval != null &&
                     BadLinkTestInterval.Equals(other.BadLinkTestInterval)
                 ) &&
                 (
                     LinkUnusedInterval == other.LinkUnusedInterval ||
                     LinkUnusedInterval != null &&
                     LinkUnusedInterval.Equals(other.LinkUnusedInterval)
                 ) &&
                 (
                     ConnectionTimeout == other.ConnectionTimeout ||
                     ConnectionTimeout != null &&
                     ConnectionTimeout.Equals(other.ConnectionTimeout)
                 ));
        }
        /// <summary>
        /// Returns true if ComDayCqStatisticsImplStatisticsServiceImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqStatisticsImplStatisticsServiceImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqStatisticsImplStatisticsServiceImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     SchedulerPeriod == other.SchedulerPeriod ||
                     SchedulerPeriod != null &&
                     SchedulerPeriod.Equals(other.SchedulerPeriod)
                     ) &&
                 (
                     SchedulerConcurrent == other.SchedulerConcurrent ||
                     SchedulerConcurrent != null &&
                     SchedulerConcurrent.Equals(other.SchedulerConcurrent)
                 ) &&
                 (
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                 ) &&
                 (
                     Workspace == other.Workspace ||
                     Workspace != null &&
                     Workspace.Equals(other.Workspace)
                 ) &&
                 (
                     KeywordsPath == other.KeywordsPath ||
                     KeywordsPath != null &&
                     KeywordsPath.Equals(other.KeywordsPath)
                 ) &&
                 (
                     AsyncEntries == other.AsyncEntries ||
                     AsyncEntries != null &&
                     AsyncEntries.Equals(other.AsyncEntries)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (SchedulerConcurrent != null)
         {
             hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode();
         }
         if (ChunkCleanupAge != null)
         {
             hashCode = hashCode * 59 + ChunkCleanupAge.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 8
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (SchedulerPeriod != null)
         {
             hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode();
         }
         if (SchedulerConcurrent != null)
         {
             hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode();
         }
         if (ServiceBadLinkToleranceInterval != null)
         {
             hashCode = hashCode * 59 + ServiceBadLinkToleranceInterval.GetHashCode();
         }
         if (ServiceCheckOverridePatterns != null)
         {
             hashCode = hashCode * 59 + ServiceCheckOverridePatterns.GetHashCode();
         }
         if (ServiceCacheBrokenInternalLinks != null)
         {
             hashCode = hashCode * 59 + ServiceCacheBrokenInternalLinks.GetHashCode();
         }
         if (ServiceSpecialLinkPrefix != null)
         {
             hashCode = hashCode * 59 + ServiceSpecialLinkPrefix.GetHashCode();
         }
         if (ServiceSpecialLinkPatterns != null)
         {
             hashCode = hashCode * 59 + ServiceSpecialLinkPatterns.GetHashCode();
         }
         return(hashCode);
     }
 }