protected override void Reset(ConfigurationElement parentElement)
        {
            RootProfilePropertySettingsCollection settingss = parentElement as RootProfilePropertySettingsCollection;

            base.Reset(parentElement);
            this.GroupSettings.InternalReset(settingss.GroupSettings);
        }
        public override bool Equals(object obj)
        {
            RootProfilePropertySettingsCollection col = obj as RootProfilePropertySettingsCollection;

            if (col == null)
            {
                return(false);
            }

            if (GetType() != col.GetType())
            {
                return(false);
            }

            if (Count != col.Count)
            {
                return(false);
            }

            for (int n = 0; n < Count; n++)
            {
                if (!BaseGet(n).Equals(col.BaseGet(n)))
                {
                    return(false);
                }
            }
            return(true);
        }
        protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode)
        {
            RootProfilePropertySettingsCollection settingss  = parentElement as RootProfilePropertySettingsCollection;
            RootProfilePropertySettingsCollection settingss2 = sourceElement as RootProfilePropertySettingsCollection;

            base.Unmerge(sourceElement, parentElement, saveMode);
            this.GroupSettings.InternalUnMerge(settingss2.GroupSettings, (settingss != null) ? settingss.GroupSettings : null, saveMode);
        }
        protected internal override void Reset(ConfigurationElement parentElement)
        {
            base.Reset(parentElement);

            RootProfilePropertySettingsCollection root = (RootProfilePropertySettingsCollection)parentElement;

            if (root == null)
            {
                return;
            }

            GroupSettings.ResetInternal(root.GroupSettings);
        }
        public override bool Equals(object rootProfilePropertySettingsCollection)
        {
            RootProfilePropertySettingsCollection objB = rootProfilePropertySettingsCollection as RootProfilePropertySettingsCollection;

            return(((objB != null) && object.Equals(this, objB)) && object.Equals(this.GroupSettings, objB.GroupSettings));
        }
        public override bool Equals(object rootProfilePropertySettingsCollection)
        {
            RootProfilePropertySettingsCollection o = rootProfilePropertySettingsCollection as RootProfilePropertySettingsCollection;

            return(o != null && Object.Equals(this, o) && Object.Equals(GroupSettings, o.GroupSettings));
        }