public override int GetHashCode() => Width.GetHashCode() ^ Height.GetHashCode();
/// <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); } }
public override int GetHashCode() { return(Width.GetHashCode() * Height.GetHashCode() + Name.GetHashCode() + Tiles.GetHashCode()); }
public override int GetHashCode() { return(Id.GetHashCode() ^ Height.GetHashCode() ^ Weight.GetHashCode()); }
public override int GetHashCode() { return(X.GetHashCode() + Y.GetHashCode() + Width.GetHashCode() + Height.GetHashCode()); }
/// <inheritdoc /> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; if (Visible != null) { hashCode = hashCode * 59 + Visible.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 (Ax != null) { hashCode = hashCode * 59 + Ax.GetHashCode(); } if (Ay != null) { hashCode = hashCode * 59 + Ay.GetHashCode(); } if (AXref != null) { hashCode = hashCode * 59 + AXref.GetHashCode(); } if (AyRef != null) { hashCode = hashCode * 59 + AyRef.GetHashCode(); } if (XRef != null) { hashCode = hashCode * 59 + XRef.GetHashCode(); } if (X != null) { hashCode = hashCode * 59 + X.GetHashCode(); } if (XAnchor != null) { hashCode = hashCode * 59 + XAnchor.GetHashCode(); } if (XShift != null) { hashCode = hashCode * 59 + XShift.GetHashCode(); } if (YRef != null) { hashCode = hashCode * 59 + YRef.GetHashCode(); } if (Y != null) { hashCode = hashCode * 59 + Y.GetHashCode(); } if (YAnchor != null) { hashCode = hashCode * 59 + YAnchor.GetHashCode(); } if (YShift != null) { hashCode = hashCode * 59 + YShift.GetHashCode(); } if (ClickToShow != null) { hashCode = hashCode * 59 + ClickToShow.GetHashCode(); } if (XClick != null) { hashCode = hashCode * 59 + XClick.GetHashCode(); } if (YClick != null) { hashCode = hashCode * 59 + YClick.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); } }
public override int GetHashCode() { if (IsEmpty) { return(0); } return(((Left.GetHashCode() ^ Top.GetHashCode()) ^ Width.GetHashCode()) ^ Height.GetHashCode()); }
public override int GetHashCode() { return(X.GetHashCode() >> 13 + Y.GetHashCode() >> 10 + Width.GetHashCode() >> 3 + Height.GetHashCode() >> 4); }
/// <summary> /// Produce the same hash code for all images with the same height and the same width. /// </summary> public override int GetHashCode() { return(Hashing.CombineHash(Height.GetHashCode(), Width.GetHashCode())); }
public override Int32 GetHashCode( ) { return((~Radius.GetHashCode( )) ^ Height.GetHashCode( )); }
/// <summary> /// Gets the hash code for this <see cref='System.Drawing.RectangleF'/>. /// </summary> public override int GetHashCode() => HashHelpers.Combine( HashHelpers.Combine(HashHelpers.Combine(X.GetHashCode(), Y.GetHashCode()), Width.GetHashCode()), Height.GetHashCode());
public override int GetHashCode() { return(FirstName.GetHashCode() ^ LastName.GetHashCode() ^ Height.GetHashCode() ^ BirthDate.GetHashCode()); }
public override int GetHashCode() { return(Left.GetHashCode() + Top.GetHashCode() + Width.GetHashCode() + Height.GetHashCode() + NearestZ.GetHashCode() + FarthestZ.GetHashCode() + Background.GetHashCode() + Camera.GetHashCode()); }
public override int GetHashCode() { return(Height.GetHashCode() ^ SkipItems.GetHashCode() ^ TakeItems.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (PositionX != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PositionX); } if (PositionY != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PositionY); } if (Width != 0) { hash ^= Width.GetHashCode(); } if (Height != 0) { hash ^= Height.GetHashCode(); } if (Direction != 0) { hash ^= Direction.GetHashCode(); } if (ObjType != 0) { hash ^= ObjType.GetHashCode(); } if (BlockType != 0) { hash ^= BlockType.GetHashCode(); } if (DishType != 0) { hash ^= DishType.GetHashCode(); } if (ToolType != 0) { hash ^= ToolType.GetHashCode(); } if (TriggerType != 0) { hash ^= TriggerType.GetHashCode(); } if (IsMoving != false) { hash ^= IsMoving.GetHashCode(); } hash ^= buff_.GetHashCode(); if (SpeakText.Length != 0) { hash ^= SpeakText.GetHashCode(); } if (Team != 0) { hash ^= Team.GetHashCode(); } if (SightRange != 0) { hash ^= SightRange.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(position.GetHashCode() + Width.GetHashCode() + Height.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (relativePosition_ != null) { hash ^= RelativePosition.GetHashCode(); } if (relativeVelocity_ != null) { hash ^= RelativeVelocity.GetHashCode(); } if (Rcs != 0D) { hash ^= Rcs.GetHashCode(); } if (MovingStatus != 0) { hash ^= MovingStatus.GetHashCode(); } if (Width != 0D) { hash ^= Width.GetHashCode(); } if (Length != 0D) { hash ^= Length.GetHashCode(); } if (Height != 0D) { hash ^= Height.GetHashCode(); } if (Theta != 0D) { hash ^= Theta.GetHashCode(); } if (absolutePosition_ != null) { hash ^= AbsolutePosition.GetHashCode(); } if (absoluteVelocity_ != null) { hash ^= AbsoluteVelocity.GetHashCode(); } if (Count != 0) { hash ^= Count.GetHashCode(); } if (MovingFramesCount != 0) { hash ^= MovingFramesCount.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } return(hash); }
/// <inheritdoc cref="object.GetHashCode()"/> public override int GetHashCode() => 711844102 ^ Width.GetHashCode() ^ Height.GetHashCode() ^ IsMobile.GetHashCode() ^ DeviceScaleFactor.GetHashCode();
public override int GetHashCode() { int hash = 1; if (CameraDev.Length != 0) { hash ^= CameraDev.GetHashCode(); } if (FrameId.Length != 0) { hash ^= FrameId.GetHashCode(); } if (PixelFormat.Length != 0) { hash ^= PixelFormat.GetHashCode(); } if (IoMethod != 0) { hash ^= IoMethod.GetHashCode(); } if (Width != 0) { hash ^= Width.GetHashCode(); } if (Height != 0) { hash ^= Height.GetHashCode(); } if (FrameRate != 0) { hash ^= FrameRate.GetHashCode(); } if (Monochrome != false) { hash ^= Monochrome.GetHashCode(); } if (Brightness != 0) { hash ^= Brightness.GetHashCode(); } if (Contrast != 0) { hash ^= Contrast.GetHashCode(); } if (Saturation != 0) { hash ^= Saturation.GetHashCode(); } if (Sharpness != 0) { hash ^= Sharpness.GetHashCode(); } if (Gain != 0) { hash ^= Gain.GetHashCode(); } if (AutoFocus != false) { hash ^= AutoFocus.GetHashCode(); } if (Focus != 0) { hash ^= Focus.GetHashCode(); } if (AutoExposure != false) { hash ^= AutoExposure.GetHashCode(); } if (Exposure != 0) { hash ^= Exposure.GetHashCode(); } if (AutoWhiteBalance != false) { hash ^= AutoWhiteBalance.GetHashCode(); } if (WhiteBalance != 0) { hash ^= WhiteBalance.GetHashCode(); } if (BytesPerPixel != 0) { hash ^= BytesPerPixel.GetHashCode(); } if (TriggerInternal != 0) { hash ^= TriggerInternal.GetHashCode(); } if (TriggerFps != 0) { hash ^= TriggerFps.GetHashCode(); } if (ChannelName.Length != 0) { hash ^= ChannelName.GetHashCode(); } if (DeviceWaitMs != 0) { hash ^= DeviceWaitMs.GetHashCode(); } if (SpinRate != 0) { hash ^= SpinRate.GetHashCode(); } if (OutputType != 0) { hash ^= OutputType.GetHashCode(); } if (compressConf_ != null) { hash ^= CompressConf.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code for this Size /// </summary> /// <returns>Hash code value for this size</returns> public override int GetHashCode() { return(Width.GetHashCode() ^ Height.GetHashCode()); }
/// <summary>Get the hash code for this System.Windows.Rect structure. For information /// about the use of hash codes, see Object.GetHashCode.</summary> /// <returns>The hash code for this System.Windows.Rect.<see cref="System.Int32"/></returns> public override int GetHashCode() { return(Left.GetHashCode() ^ Top.GetHashCode() ^ Width.GetHashCode() ^ Height.GetHashCode()); }
/// <summary> /// Gets the hashcode of the cone. /// </summary> /// <returns></returns> public override int GetHashCode() { return(_circleBase.GetHashCode() ^ Height.GetHashCode()); }
/// <summary> /// Gets the hashcode of the trapezoid. /// </summary> /// <returns></returns> public override int GetHashCode() { return(BaseOne.GetHashCode() ^ BaseTwo.GetHashCode() ^ Height.GetHashCode()); }