Exemple #1
0
 internal ConfigSections(XElement root, ISavable savable)
 {
     _content = root.Element("configSections");
     if (_content is null)
     {
         _content = new XElement("configSections");
         root.AddFirst(_content);
     }
     _groups   = new ConfigSectionGroupSet(_content, root, savable);
     _sections = new ConfigSectionSet(_content, root, savable);
 }
Exemple #2
0
 internal ConfigSectionGroup(XElement declaration, XElement content, ISavable savable)
 {
     _content  = content;
     _groups   = new ConfigSectionGroupSet(declaration, content, savable);
     _sections = new ConfigSectionSet(declaration, content, savable);
 }