Esempio n. 1
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 (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (MaxSavedReports != null)
         {
             hashCode = hashCode * 59 + MaxSavedReports.GetHashCode();
         }
         if (TimeDuration != null)
         {
             hashCode = hashCode * 59 + TimeDuration.GetHashCode();
         }
         if (EnableReportPurge != null)
         {
             hashCode = hashCode * 59 + EnableReportPurge.GetHashCode();
         }
         return(hashCode);
     }
 }
Esempio n. 2
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 (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (MaxSavedActivities != null)
         {
             hashCode = hashCode * 59 + MaxSavedActivities.GetHashCode();
         }
         if (SaveInterval != null)
         {
             hashCode = hashCode * 59 + SaveInterval.GetHashCode();
         }
         if (EnableActivityPurge != null)
         {
             hashCode = hashCode * 59 + EnableActivityPurge.GetHashCode();
         }
         if (EventTypes != null)
         {
             hashCode = hashCode * 59 + EventTypes.GetHashCode();
         }
         return(hashCode);
     }
 }
Esempio n. 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 (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (SchedulerConcurrent != null)
         {
             hashCode = hashCode * 59 + SchedulerConcurrent.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 (EnableTokenCleanupTask != null)
         {
             hashCode = hashCode * 59 + EnableTokenCleanupTask.GetHashCode();
         }
         if (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (BatchSize != null)
         {
             hashCode = hashCode * 59 + BatchSize.GetHashCode();
         }
         return(hashCode);
     }
 }
Esempio n. 5
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 (ArchivingEnabled != null)
         {
             hashCode = hashCode * 59 + ArchivingEnabled.GetHashCode();
         }
         if (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (ArchiveSinceDaysCompleted != null)
         {
             hashCode = hashCode * 59 + ArchiveSinceDaysCompleted.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 (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (DurationForTemporaryStorage != null)
         {
             hashCode = hashCode * 59 + DurationForTemporaryStorage.GetHashCode();
         }
         if (DurationForAnonymousStorage != null)
         {
             hashCode = hashCode * 59 + DurationForAnonymousStorage.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 (SchedulerExpression != null)
         {
             hashCode = hashCode * 59 + SchedulerExpression.GetHashCode();
         }
         if (JobPurgeThreshold != null)
         {
             hashCode = hashCode * 59 + JobPurgeThreshold.GetHashCode();
         }
         if (JobPurgeMaxJobs != null)
         {
             hashCode = hashCode * 59 + JobPurgeMaxJobs.GetHashCode();
         }
         return(hashCode);
     }
 }