예제 #1
0
        public override int GetHashCode()
        {
            int result = name.GetHashCode();

            result = 31 * result + altcs.GetHashCode();
            return(result);
        }
예제 #2
0
 /// <summary>
 /// Returns hash code based on BaseColor and CanvasColor combined.
 /// </summary>
 public override int GetHashCode()
 {
     return(BaseColor.GetHashCode() * CanvasColor.GetHashCode());
 }