コード例 #1
0
        public void ImportWikiData()
        {
            string outputFolder = @"c:\temp\CodeFrameworkDocs_help";

            if (Directory.Exists(outputFolder))
            {
                try
                {
                    Directory.Delete(outputFolder, true);
                }
                catch
                {
                }
            }

            var projectCreator = new DocProjectCreator
            {
                Owner         = "EPS Software",
                Filename      = "_toc.json",
                ProjectFolder = outputFolder,
                Title         = "Code Framework Documentation",

                InstallFolder = "C:\\projects2010\\DocumentationMonster\\DocumentationMonster\\bin\\Debug"
            };

            var importer = new FileSystemImporter();

            Assert.True(importer.ImportFileSystem(@"C:\Temp\CODEFrameworkDocs", projectCreator));
        }
コード例 #2
0
 protected BaseImporter(IOctopusRepository repository, IOctopusFileSystem fileSystem, ILog log)
 {
     this.log = log;
     this.repository = repository;
     fileSystemImporter = new FileSystemImporter(fileSystem, log);
 }
コード例 #3
0
ファイル: ImageOcrTests.cs プロジェクト: Ekwav/lifenizer
 public void Create()
 {
     IImporter importer = new FileSystemImporter();
 }
コード例 #4
0
 protected BaseImporter(IOctopusAsyncRepository repository, IOctopusFileSystem fileSystem, ILogger log)
 {
     this.Log = log;
     this.Repository = repository;
     FileSystemImporter = new FileSystemImporter(fileSystem, log);
 }