Aqueduct.Configuration.Loaders.Xml.XmlConfigurationLoader.LoadSectionsFromXML C# (CSharp) Method

LoadSectionsFromXML() private method

private LoadSectionsFromXML ( ) : void
return void
        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);
            }
        }