Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            var hashCode = 1055286454;

            hashCode = hashCode * -1521134295 + Control.GetHashCode();
            hashCode = hashCode * -1521134295 + HandType.GetHashCode();
            return(hashCode);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 397;

            unchecked
            {
                hash = hash * 23 + ControlType.GetHashCode();
                hash = hash * 23 + ViewModelType.GetHashCode();
                //? Do we need to ensure that inherited classes offer a hash code?
            }
            return(hash);
        }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     return(ControlType.GetHashCode());
 }