Example #1
0
        public void IncrementEntryChange()
        {
            lock (syncDays)
            {
                this.days = null;
            }

            lock (syncCore)
            {
                _entryChangeCount++;
            }
        }
        /// <summary>
        /// Creates a shallow copy of the <see cref="DayEntryCollection"/>.
        /// </summary>
        /// <returns>A shallow copy of the <see cref="DayEntryCollection"/>.</returns>
        /// <remarks>Please refer to <see cref="ICloneable.Clone"/> for details.</remarks>

        public virtual object Clone()
        {
            DayEntryCollection collection = new DayEntryCollection(this.ToArray());

            return(collection);
        }