protected override void LoadSections()
        {
            Section globalSection = new Section("Global");

            globalSection.AddSettings(_predefinedSettings);
            _sections.Add(globalSection);
        }
        private void LoadSectionsFromXML()
        {
            ValidateConfigFile();
            XDocument doc          = LoadDocument();
            var       docNamespace = doc.Root.GetDefaultNamespace();

            foreach (var element in doc.Root.Elements(docNamespace + "section"))
            {
                Section section = XmlSectionParser.Parse(element);
                section.AddSettings(LoadSectionSettings(element));
                _sections.Add(section);
            }
        }
 protected override void LoadSections()
 {
     Section globalSection = new Section("Global");
     globalSection.AddSettings(_predefinedSettings);
     _sections.Add(globalSection);
 }