Exemplo n.º 1
0
        /// <summary>
        /// Returns a hash code for this instance.
        /// </summary>
        /// <returns>
        /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
        /// </returns>
        public override int GetHashCode()
        {
            int hash = 0x4043ed48;

            hash = (hash * -1521134295) + Position.GetHashCode();
            hash = (hash * -1521134295) + WeekDays.GetHashCode();
            hash = (hash * -1521134295) + AnyWeekDays.GetHashCode();
            return(hash);
        }