Example #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 (EventFilter != null)
         {
             hashCode = hashCode * 59 + EventFilter.GetHashCode();
         }
         if (RolloutmgrExcludedpropsDefault != null)
         {
             hashCode = hashCode * 59 + RolloutmgrExcludedpropsDefault.GetHashCode();
         }
         if (RolloutmgrExcludedparagraphpropsDefault != null)
         {
             hashCode = hashCode * 59 + RolloutmgrExcludedparagraphpropsDefault.GetHashCode();
         }
         if (RolloutmgrExcludednodetypesDefault != null)
         {
             hashCode = hashCode * 59 + RolloutmgrExcludednodetypesDefault.GetHashCode();
         }
         if (RolloutmgrThreadpoolMaxsize != null)
         {
             hashCode = hashCode * 59 + RolloutmgrThreadpoolMaxsize.GetHashCode();
         }
         if (RolloutmgrThreadpoolMaxshutdowntime != null)
         {
             hashCode = hashCode * 59 + RolloutmgrThreadpoolMaxshutdowntime.GetHashCode();
         }
         if (RolloutmgrThreadpoolPriority != null)
         {
             hashCode = hashCode * 59 + RolloutmgrThreadpoolPriority.GetHashCode();
         }
         if (RolloutmgrCommitSize != null)
         {
             hashCode = hashCode * 59 + RolloutmgrCommitSize.GetHashCode();
         }
         if (RolloutmgrConflicthandlingEnabled != null)
         {
             hashCode = hashCode * 59 + RolloutmgrConflicthandlingEnabled.GetHashCode();
         }
         return(hashCode);
     }
 }