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

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

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