Example #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (Values != null)
         {
             hashCode = hashCode * 59 + Values.GetHashCode();
         }
         if (Format != null)
         {
             hashCode = hashCode * 59 + Format.GetHashCode();
         }
         if (Prefix != null)
         {
             hashCode = hashCode * 59 + Prefix.GetHashCode();
         }
         if (PrefixArray != null)
         {
             hashCode = hashCode * 59 + PrefixArray.GetHashCode();
         }
         if (Suffix != null)
         {
             hashCode = hashCode * 59 + Suffix.GetHashCode();
         }
         if (SuffixArray != null)
         {
             hashCode = hashCode * 59 + SuffixArray.GetHashCode();
         }
         if (Height != null)
         {
             hashCode = hashCode * 59 + Height.GetHashCode();
         }
         if (Align != null)
         {
             hashCode = hashCode * 59 + Align.GetHashCode();
         }
         if (AlignArray != null)
         {
             hashCode = hashCode * 59 + AlignArray.GetHashCode();
         }
         if (Line != null)
         {
             hashCode = hashCode * 59 + Line.GetHashCode();
         }
         if (Fill != null)
         {
             hashCode = hashCode * 59 + Fill.GetHashCode();
         }
         if (Font != null)
         {
             hashCode = hashCode * 59 + Font.GetHashCode();
         }
         if (ValuesSrc != null)
         {
             hashCode = hashCode * 59 + ValuesSrc.GetHashCode();
         }
         if (FormatSrc != null)
         {
             hashCode = hashCode * 59 + FormatSrc.GetHashCode();
         }
         if (PrefixSrc != null)
         {
             hashCode = hashCode * 59 + PrefixSrc.GetHashCode();
         }
         if (SuffixSrc != null)
         {
             hashCode = hashCode * 59 + SuffixSrc.GetHashCode();
         }
         if (AlignSrc != null)
         {
             hashCode = hashCode * 59 + AlignSrc.GetHashCode();
         }
         return(hashCode);
     }
 }