Beispiel #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (BgColor != null)
         {
             hashCode = hashCode * 59 + BgColor.GetHashCode();
         }
         if (BgColorArray != null)
         {
             hashCode = hashCode * 59 + BgColorArray.GetHashCode();
         }
         if (BorderColor != null)
         {
             hashCode = hashCode * 59 + BorderColor.GetHashCode();
         }
         if (BorderColorArray != null)
         {
             hashCode = hashCode * 59 + BorderColorArray.GetHashCode();
         }
         if (Font != null)
         {
             hashCode = hashCode * 59 + Font.GetHashCode();
         }
         if (Align != null)
         {
             hashCode = hashCode * 59 + Align.GetHashCode();
         }
         if (AlignArray != null)
         {
             hashCode = hashCode * 59 + AlignArray.GetHashCode();
         }
         if (NameLength != null)
         {
             hashCode = hashCode * 59 + NameLength.GetHashCode();
         }
         if (NameLengthArray != null)
         {
             hashCode = hashCode * 59 + NameLengthArray.GetHashCode();
         }
         if (BgColorSrc != null)
         {
             hashCode = hashCode * 59 + BgColorSrc.GetHashCode();
         }
         if (BorderColorSrc != null)
         {
             hashCode = hashCode * 59 + BorderColorSrc.GetHashCode();
         }
         if (AlignSrc != null)
         {
             hashCode = hashCode * 59 + AlignSrc.GetHashCode();
         }
         if (NameLengthSrc != null)
         {
             hashCode = hashCode * 59 + NameLengthSrc.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Align?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (AlternateText?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Attributes?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Float?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Height.GetHashCode();
         hashCode = (hashCode * 397) ^ (Link?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Path?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Role?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Title?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Width.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #3
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (Text != null)
         {
             hashCode = hashCode * 59 + Text.GetHashCode();
         }
         if (Align != null)
         {
             hashCode = hashCode * 59 + Align.GetHashCode();
         }
         if (Font != null)
         {
             hashCode = hashCode * 59 + Font.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = 17;
         result = result * 23 + base.GetHashCode();
         result = result * 23 + ((Name != null) ? Name.GetHashCode() : 0);
         result = result * 23 + Type.GetHashCode();
         result = result * 23 + Editable.GetHashCode();
         result = result * 23 + Mandatory.GetHashCode();
         result = result * 23 + Hidden.GetHashCode();
         result = result * 23 + Hideable.GetHashCode();
         result = result * 23 + Width.GetHashCode();
         result = result * 23 + ((Text != null) ? Text.GetHashCode() : 0);
         result = result * 23 + Xtype.GetHashCode();
         result = result * 23 + Align.GetHashCode();
         result = result * 23 + ((Tooltip != null) ? Tooltip.GetHashCode() : 0);
         result = result * 23 + Sortable.GetHashCode();
         result = result * 23 + SortDirection.GetHashCode();
         result = result * 23 + ((Format != null) ? Format.GetHashCode() : 0);
         result = result * 23 + DecimalPlaces.GetHashCode();
         result = result * 23 + ((DataUrl != null) ? DataUrl.GetHashCode() : 0);
         result = result * 23 + ((DefaultValue != null) ? DefaultValue.GetHashCode() : 0);
         result = result * 23 + ((Description != null) ? Description.GetHashCode() : 0);
         result = result * 23 + Rank.GetHashCode();
         result = result * 23 + ReadOnly.GetHashCode();
         result = result * 23 + MaxLength.GetHashCode();
         result = result * 23 + ((Validator != null) ? Validator.GetHashCode() : 0);
         result = result * 23 + ((SearchFieldDefinition != null) ? SearchFieldDefinition.GetHashCode() : 0);
         result = result * 23 + SingleComboFilter.GetHashCode();
         result = result * 23 + AllowComboCustomValue.GetHashCode();
         result = result * 23 + SearchComboFromLeft.GetHashCode();
         result = result * 23 + LoadWhenVisible.GetHashCode();
         result = result * 23 + Nullable.GetHashCode();
         result = result * 23 + ((Tpl != null) ? Tpl.GetHashCode() : 0);
         result = result * 23 + MinCharSearch.GetHashCode();
         result = result * 23 + ((AdditionalWhereSqlTemp != null) ? AdditionalWhereSqlTemp.GetHashCode() : 0);
         return(result);
     }
 }
Beispiel #5
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);
     }
 }
Beispiel #6
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (Visible != null)
         {
             hashCode = hashCode * 59 + Visible.GetHashCode();
         }
         if (X != null)
         {
             hashCode = hashCode * 59 + X.GetHashCode();
         }
         if (Y != null)
         {
             hashCode = hashCode * 59 + Y.GetHashCode();
         }
         if (Z != null)
         {
             hashCode = hashCode * 59 + Z.GetHashCode();
         }
         if (Ax != null)
         {
             hashCode = hashCode * 59 + Ax.GetHashCode();
         }
         if (Ay != null)
         {
             hashCode = hashCode * 59 + Ay.GetHashCode();
         }
         if (XAnchor != null)
         {
             hashCode = hashCode * 59 + XAnchor.GetHashCode();
         }
         if (XShift != null)
         {
             hashCode = hashCode * 59 + XShift.GetHashCode();
         }
         if (YAnchor != null)
         {
             hashCode = hashCode * 59 + YAnchor.GetHashCode();
         }
         if (YShift != null)
         {
             hashCode = hashCode * 59 + YShift.GetHashCode();
         }
         if (Text != null)
         {
             hashCode = hashCode * 59 + Text.GetHashCode();
         }
         if (TextAngle != null)
         {
             hashCode = hashCode * 59 + TextAngle.GetHashCode();
         }
         if (Font != null)
         {
             hashCode = hashCode * 59 + Font.GetHashCode();
         }
         if (Width != null)
         {
             hashCode = hashCode * 59 + Width.GetHashCode();
         }
         if (Height != null)
         {
             hashCode = hashCode * 59 + Height.GetHashCode();
         }
         if (Opacity != null)
         {
             hashCode = hashCode * 59 + Opacity.GetHashCode();
         }
         if (Align != null)
         {
             hashCode = hashCode * 59 + Align.GetHashCode();
         }
         if (VAlign != null)
         {
             hashCode = hashCode * 59 + VAlign.GetHashCode();
         }
         if (BgColor != null)
         {
             hashCode = hashCode * 59 + BgColor.GetHashCode();
         }
         if (BorderColor != null)
         {
             hashCode = hashCode * 59 + BorderColor.GetHashCode();
         }
         if (BorderPad != null)
         {
             hashCode = hashCode * 59 + BorderPad.GetHashCode();
         }
         if (BorderWidth != null)
         {
             hashCode = hashCode * 59 + BorderWidth.GetHashCode();
         }
         if (ShowArrow != null)
         {
             hashCode = hashCode * 59 + ShowArrow.GetHashCode();
         }
         if (ArrowColor != null)
         {
             hashCode = hashCode * 59 + ArrowColor.GetHashCode();
         }
         if (Arrowhead != null)
         {
             hashCode = hashCode * 59 + Arrowhead.GetHashCode();
         }
         if (StartArrowhead != null)
         {
             hashCode = hashCode * 59 + StartArrowhead.GetHashCode();
         }
         if (ArrowSide != null)
         {
             hashCode = hashCode * 59 + ArrowSide.GetHashCode();
         }
         if (ArrowSize != null)
         {
             hashCode = hashCode * 59 + ArrowSize.GetHashCode();
         }
         if (StartArrowSize != null)
         {
             hashCode = hashCode * 59 + StartArrowSize.GetHashCode();
         }
         if (ArrowWidth != null)
         {
             hashCode = hashCode * 59 + ArrowWidth.GetHashCode();
         }
         if (Standoff != null)
         {
             hashCode = hashCode * 59 + Standoff.GetHashCode();
         }
         if (StartStandoff != null)
         {
             hashCode = hashCode * 59 + StartStandoff.GetHashCode();
         }
         if (HoverText != null)
         {
             hashCode = hashCode * 59 + HoverText.GetHashCode();
         }
         if (HoverLabel != null)
         {
             hashCode = hashCode * 59 + HoverLabel.GetHashCode();
         }
         if (CaptureEvents != null)
         {
             hashCode = hashCode * 59 + CaptureEvents.GetHashCode();
         }
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (TemplateItemName != null)
         {
             hashCode = hashCode * 59 + TemplateItemName.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #7
0
 public override int GetHashCode()
 {
     return(this.GetType().FullName.GetHashCode() ^ Flags.GetHashCode() ^ Align.GetHashCode() ^ Prefix.GetHashCode() ^ Padding.GetHashCode());
 }
Beispiel #8
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (Type != null)
         {
             hashCode = hashCode * 59 + Type.GetHashCode();
         }
         if (Visible != null)
         {
             hashCode = hashCode * 59 + Visible.GetHashCode();
         }
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (UId != null)
         {
             hashCode = hashCode * 59 + UId.GetHashCode();
         }
         if (Ids != null)
         {
             hashCode = hashCode * 59 + Ids.GetHashCode();
         }
         if (CustomData != null)
         {
             hashCode = hashCode * 59 + CustomData.GetHashCode();
         }
         if (Meta != null)
         {
             hashCode = hashCode * 59 + Meta.GetHashCode();
         }
         if (MetaArray != null)
         {
             hashCode = hashCode * 59 + MetaArray.GetHashCode();
         }
         if (Stream != null)
         {
             hashCode = hashCode * 59 + Stream.GetHashCode();
         }
         if (Transforms != null)
         {
             hashCode = hashCode * 59 + Transforms.GetHashCode();
         }
         if (UiRevision != null)
         {
             hashCode = hashCode * 59 + UiRevision.GetHashCode();
         }
         if (Mode != null)
         {
             hashCode = hashCode * 59 + Mode.GetHashCode();
         }
         if (Value != null)
         {
             hashCode = hashCode * 59 + Value.GetHashCode();
         }
         if (Align != null)
         {
             hashCode = hashCode * 59 + Align.GetHashCode();
         }
         if (Domain != null)
         {
             hashCode = hashCode * 59 + Domain.GetHashCode();
         }
         if (Title != null)
         {
             hashCode = hashCode * 59 + Title.GetHashCode();
         }
         if (Number != null)
         {
             hashCode = hashCode * 59 + Number.GetHashCode();
         }
         if (Delta != null)
         {
             hashCode = hashCode * 59 + Delta.GetHashCode();
         }
         if (Gauge != null)
         {
             hashCode = hashCode * 59 + Gauge.GetHashCode();
         }
         if (IdsSrc != null)
         {
             hashCode = hashCode * 59 + IdsSrc.GetHashCode();
         }
         if (CustomDataSrc != null)
         {
             hashCode = hashCode * 59 + CustomDataSrc.GetHashCode();
         }
         if (MetaSrc != null)
         {
             hashCode = hashCode * 59 + MetaSrc.GetHashCode();
         }
         return(hashCode);
     }
 }