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;
        }