Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (int)VerticalAligment;
         hashCode = (hashCode * 397) ^ (int)HorizontalAligment;
         hashCode = (hashCode * 397) ^ WrapText.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return((Int32)Horizontal
            ^ (Int32)Vertical
            ^ Indent
            ^ JustifyLastLine.GetHashCode()
            ^ (Int32)ReadingOrder
            ^ RelativeIndent
            ^ ShrinkToFit.GetHashCode()
            ^ TextRotation
            ^ WrapText.GetHashCode());
 }
        public override int GetHashCode()
        {
            int hashCode = 253911835;

            hashCode = hashCode * -1521134295 + HorizontalAlignment.GetHashCode();
            hashCode = hashCode * -1521134295 + VerticalAlignment.GetHashCode();
            hashCode = hashCode * -1521134295 + HasBorder.GetHashCode();
            hashCode = hashCode * -1521134295 + WrapText.GetHashCode();
            hashCode = hashCode * -1521134295 + BackgroundColor.GetHashCode();
            hashCode = hashCode * -1521134295 + Font.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DataFormat);

            return(hashCode);
        }
Esempio n. 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Border.GetHashCode();
         result = (result * 397) ^ Font.GetHashCode();
         result = (result * 397) ^ Format.GetHashCode();
         result = (result * 397) ^ VerticalAlignment.GetHashCode();
         result = (result * 397) ^ HorizontalAlignment.GetHashCode();
         result = (result * 397) ^ Fill.GetHashCode();
         result = (result * 397) ^ WrapText.GetHashCode();
         return(result);
     }
 }
        public override int GetHashCode()
        {
            var hashCode = -596887160;

            hashCode = hashCode * -1521134295 + Horizontal.GetHashCode();
            hashCode = hashCode * -1521134295 + Vertical.GetHashCode();
            hashCode = hashCode * -1521134295 + Indent.GetHashCode();
            hashCode = hashCode * -1521134295 + JustifyLastLine.GetHashCode();
            hashCode = hashCode * -1521134295 + ReadingOrder.GetHashCode();
            hashCode = hashCode * -1521134295 + RelativeIndent.GetHashCode();
            hashCode = hashCode * -1521134295 + ShrinkToFit.GetHashCode();
            hashCode = hashCode * -1521134295 + TextRotation.GetHashCode();
            hashCode = hashCode * -1521134295 + WrapText.GetHashCode();
            hashCode = hashCode * -1521134295 + TopToBottom.GetHashCode();
            return(hashCode);
        }
 public override int GetHashCode()
 {
     return(FontSize.GetHashCode() ^ FontName.GetHashCode() ^ FontBold.GetHashCode() ^ FontColor.GetHashCode() ^ FGColor.GetHashCode() ^ Borders[0].GetHashCode() ^ Borders[1].GetHashCode() ^ Borders[2].GetHashCode() ^ Borders[3].GetHashCode() ^ CellWidth.GetHashCode() ^ CellHeight.GetHashCode() ^ HorizontalAlignment.GetHashCode() ^ VerticalAlignment.GetHashCode() ^ WrapText.GetHashCode());
 }