Bootstrapper.Program.GetConfigDocument C# (CSharp) Метод

GetConfigDocument() приватный статический Метод

private static GetConfigDocument ( ) : XmlDocument
Результат System.Xml.XmlDocument
        private static XmlDocument GetConfigDocument()
        {
            var configPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "NuGet", "NuGet.config");
            if (File.Exists(configPath))
            {
                var document = new XmlDocument();
                document.Load(configPath);
                return document;
            }
            return null;
        }