/// <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>
 /// 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);
     }
 }
Beispiel #3
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 (SchedulerRunOn != null)
         {
             hashCode = hashCode * 59 + SchedulerRunOn.GetHashCode();
         }
         if (GraniteThreaddumpEnabled != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpEnabled.GetHashCode();
         }
         if (GraniteThreaddumpDumpsPerFile != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpDumpsPerFile.GetHashCode();
         }
         if (GraniteThreaddumpEnableGzipCompression != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpEnableGzipCompression.GetHashCode();
         }
         if (GraniteThreaddumpEnableDirectoriesCompression != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpEnableDirectoriesCompression.GetHashCode();
         }
         if (GraniteThreaddumpEnableJStack != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpEnableJStack.GetHashCode();
         }
         if (GraniteThreaddumpMaxBackupDays != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpMaxBackupDays.GetHashCode();
         }
         if (GraniteThreaddumpBackupCleanTrigger != null)
         {
             hashCode = hashCode * 59 + GraniteThreaddumpBackupCleanTrigger.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #4
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);
     }
 }