示例#1
0
        /// <summary>
        /// Return the hash code of this object.
        /// </summary>
        /// <returns>The hash code of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(Periods.Aggregate(0, (hashCode, period) => hashCode ^ period.GetHashCode()) ^
                       On.GetHashCode() * 3 ^

                       (UnstructuredText.IsNullOrEmpty()
                           ? UnstructuredText.GetHashCode()
                           : 0));
            }
        }