public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = toolState.GetHashCode();
                hashCode = (hashCode * 397) ^ selectionType.GetHashCode();
                hashCode = (hashCode * 397) ^ measureMode.GetHashCode();
                hashCode = (hashCode * 397) ^ measureFormat.GetHashCode();
                hashCode = (hashCode * 397) ^ selectedAnchorsContext.GetHashCode();

                return(hashCode);
            }
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(Col1.GetHashCode() ^ Col2.GetHashCode() ^ Dx1.GetHashCode()
            ^ Dx2.GetHashCode() ^ Dy1.GetHashCode() ^ Dy2.GetHashCode()
            ^ Row1.GetHashCode() ^ Row2.GetHashCode() ^ AnchorType.GetHashCode());
 }