/// <summary>
        /// Makes a shallow copy of the current DojoSeminarReservationCollection.
        /// as the parent object.
        /// </summary>
        /// <returns>DojoSeminarReservationCollection</returns>
        public DojoSeminarReservationCollection Clone()
        {
            DojoSeminarReservationCollection clonedDojoSeminarReservation = new DojoSeminarReservationCollection(count);

            lock (this)
            {
                foreach (DojoSeminarReservation item in this)
                {
                    clonedDojoSeminarReservation.Add(item);
                }
            }
            return(clonedDojoSeminarReservation);
        }
        /// <summary>
        /// Makes a deep copy of the current DojoSeminarReservation.
        /// </summary>
        /// <param name="isolation">Placeholders are used to isolate the
        /// items in the DojoSeminarReservationCollection from their children.</param>
        public DojoSeminarReservationCollection Copy(bool isolated)
        {
            DojoSeminarReservationCollection isolatedCollection = new DojoSeminarReservationCollection(count);

            lock (this)
            {
                if (isolated)
                {
                    for (int i = 0; i < count; i++)
                    {
                        isolatedCollection.Add(DojoSeminarReservationArray[i].NewPlaceHolder());
                    }
                }
                else
                {
                    for (int i = 0; i < count; i++)
                    {
                        isolatedCollection.Add(DojoSeminarReservationArray[i].Copy());
                    }
                }
            }
            return(isolatedCollection);
        }