Example #1
0
        public override int GetHashCode()
        {
            var hashCode = 1055286454;

            hashCode = hashCode * -1521134295 + Control.GetHashCode();
            hashCode = hashCode * -1521134295 + HandType.GetHashCode();
            return(hashCode);
        }
Example #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);
        }
Example #3
0
 public override int GetHashCode()
 {
     return(ControlType.GetHashCode());
 }