NuGet.Settings.GetSection C# (CSharp) Method

GetSection() private static method

private static GetSection ( System.Xml.Linq.XElement parentElement, string section ) : System.Xml.Linq.XElement
parentElement System.Xml.Linq.XElement
section string
return System.Xml.Linq.XElement
        private static XElement GetSection(XElement parentElement, string section)
        {
            section = XmlConvert.EncodeLocalName(section);
            return parentElement.Element(section);
        }