internal XmlConfigurationSection(XElement xElement, XmlConfigurationSection parent) : this(xElement) { _Configuration = parent._Configuration; _ParentSection = parent; Path = String.Format("{0}.{1}", _ParentSection.Path, Name); }
internal XmlConfigurationSection(XElement xElement, XmlConfiguration configuration) : this(xElement) { _Configuration = configuration; _XElement = xElement; Path = Name; }
public static IConfiguration FromFile(string filename) { var configuration = new XmlConfiguration(); return(configuration.InternalLoad(filename)); }