Exemple #1
0
        private static void ProcessSqlDoc(string connectionString, string databaseName)
        {
            var provider = new Codaxy.Dox.Providers.SqlProvider(connectionString, databaseName) { Logger = consoleLog.ChildLogger("provider") };

            using (var fs = File.Create(outputFile))
            using (var zipOutput = new DoxZipFileWriter(fs))
            {
                provider.Process(zipOutput);
            }
        }
Exemple #2
0
        private static void ProcessXmlComments(List<string> sourceFiles)
        {
            var provider = new Providers.XmlCommentsDoxProvider() { Logger = consoleLog.ChildLogger("xml-comments") };
            foreach (var source in sourceFiles)
                provider.AddSource(source);

            using (var fs = File.Create(outputFile))
            using (var zipOutput = new DoxZipFileWriter(fs))
            {
                provider.Process(zipOutput);
            }
        }
Exemple #3
0
        private static void ProcessDoxygenXml(List<string> pathToXmlFiles)
        {
            var provider = new Codaxy.Dox.Providers.DoxygenXMLProvider(pathToXmlFiles[0], consoleLog.ChildLogger("xml-comments"));

               using (var fs = File.Create(outputFile))
               using (var zipOutput = new DoxZipFileWriter(fs))
               {
                provider.Process(zipOutput);
               }
        }