Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = cursor.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)textOverflow;
         hashCode = (hashCode * 397) ^ unityBackgroundImageTintColor.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)unityBackgroundScaleMode;
         hashCode = (hashCode * 397) ^ (int)unityOverflowClipBox;
         hashCode = (hashCode * 397) ^ unitySliceBottom;
         hashCode = (hashCode * 397) ^ unitySliceLeft;
         hashCode = (hashCode * 397) ^ unitySliceRight;
         hashCode = (hashCode * 397) ^ unitySliceTop;
         hashCode = (hashCode * 397) ^ (int)unityTextOverflowPosition;
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)alignContent;
         hashCode = (hashCode * 397) ^ (int)alignItems;
         hashCode = (hashCode * 397) ^ (int)alignSelf;
         hashCode = (hashCode * 397) ^ backgroundColor.GetHashCode();
         hashCode = (hashCode * 397) ^ backgroundImage.GetHashCode();
         hashCode = (hashCode * 397) ^ borderBottomColor.GetHashCode();
         hashCode = (hashCode * 397) ^ borderBottomLeftRadius.GetHashCode();
         hashCode = (hashCode * 397) ^ borderBottomRightRadius.GetHashCode();
         hashCode = (hashCode * 397) ^ borderBottomWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ borderLeftColor.GetHashCode();
         hashCode = (hashCode * 397) ^ borderLeftWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ borderRightColor.GetHashCode();
         hashCode = (hashCode * 397) ^ borderRightWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ borderTopColor.GetHashCode();
         hashCode = (hashCode * 397) ^ borderTopLeftRadius.GetHashCode();
         hashCode = (hashCode * 397) ^ borderTopRightRadius.GetHashCode();
         hashCode = (hashCode * 397) ^ borderTopWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ bottom.GetHashCode();
         hashCode = (hashCode * 397) ^ cursor.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)display;
         hashCode = (hashCode * 397) ^ flexBasis.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)flexDirection;
         hashCode = (hashCode * 397) ^ flexGrow.GetHashCode();
         hashCode = (hashCode * 397) ^ flexShrink.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)flexWrap;
         hashCode = (hashCode * 397) ^ height.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)justifyContent;
         hashCode = (hashCode * 397) ^ left.GetHashCode();
         hashCode = (hashCode * 397) ^ marginBottom.GetHashCode();
         hashCode = (hashCode * 397) ^ marginLeft.GetHashCode();
         hashCode = (hashCode * 397) ^ marginRight.GetHashCode();
         hashCode = (hashCode * 397) ^ marginTop.GetHashCode();
         hashCode = (hashCode * 397) ^ maxHeight.GetHashCode();
         hashCode = (hashCode * 397) ^ maxWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ minHeight.GetHashCode();
         hashCode = (hashCode * 397) ^ minWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ opacity.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)overflow;
         hashCode = (hashCode * 397) ^ paddingBottom.GetHashCode();
         hashCode = (hashCode * 397) ^ paddingLeft.GetHashCode();
         hashCode = (hashCode * 397) ^ paddingRight.GetHashCode();
         hashCode = (hashCode * 397) ^ paddingTop.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)position;
         hashCode = (hashCode * 397) ^ right.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)textOverflow;
         hashCode = (hashCode * 397) ^ top.GetHashCode();
         hashCode = (hashCode * 397) ^ unityBackgroundImageTintColor.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)unityBackgroundScaleMode;
         hashCode = (hashCode * 397) ^ (int)unityOverflowClipBox;
         hashCode = (hashCode * 397) ^ unitySliceBottom;
         hashCode = (hashCode * 397) ^ unitySliceLeft;
         hashCode = (hashCode * 397) ^ unitySliceRight;
         hashCode = (hashCode * 397) ^ unitySliceTop;
         hashCode = (hashCode * 397) ^ (int)unityTextOverflowPosition;
         hashCode = (hashCode * 397) ^ width.GetHashCode();
         return(hashCode);
     }
 }