public void Setup()
        {
            GeneralTree<INode> features = Container.Resolve<DirectoryTreeCrawler>().Crawl(ROOT_PATH);

            var formatter = new HtmlTableOfContentsFormatter(null, FileSystem);
            this._toc = formatter.Format(features.ChildNodes[0].Data.OriginalLocationUrl, features,
                                    new DirectoryInfo(ROOT_PATH));
        }
        public void Setup()
        {
            AddFakeFolderStructures();

            GeneralTree<INode> features = Container.Resolve<DirectoryTreeCrawler>().Crawl(ROOT_PATH);

            var formatter = new HtmlTableOfContentsFormatter(null, this.FileSystem);
            this._toc = formatter.Format(features.ChildNodes[0].Data.OriginalLocationUrl, features,
                                    FileSystem.DirectoryInfo.FromDirectoryName(ROOT_PATH));
        }
 public HtmlDocumentFormatter(Configuration configuration, HtmlHeaderFormatter htmlHeaderFormatter,
                              HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
                              HtmlContentFormatter htmlContentFormatter, HtmlFooterFormatter htmlFooterFormatter,
                              HtmlResourceSet htmlResources)
 {
     this.configuration = configuration;
     this.htmlHeaderFormatter = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter = htmlContentFormatter;
     this.htmlFooterFormatter = htmlFooterFormatter;
     this.htmlResources = htmlResources;
 }
 public HtmlDocumentFormatter(Configuration configuration, HtmlHeaderFormatter htmlHeaderFormatter,
                              HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
                              HtmlContentFormatter htmlContentFormatter, HtmlFooterFormatter htmlFooterFormatter,
                              HtmlResourceSet htmlResources,
                              IFileSystem fileSystem)
 {
     this.configuration                = configuration;
     this.htmlHeaderFormatter          = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter         = htmlContentFormatter;
     this.htmlFooterFormatter          = htmlFooterFormatter;
     this.htmlResources                = htmlResources;
     this.fileSystem = fileSystem;
 }
 public HtmlDocumentFormatter(
     IConfiguration configuration,
     HtmlHeaderFormatter htmlHeaderFormatter,
     HtmlTableOfContentsFormatter htmlTableOfContentsFormatter,
     HtmlContentFormatter htmlContentFormatter,
     HtmlFooterFormatter htmlFooterFormatter,
     HtmlResourceSet htmlResources,
     IFileSystem fileSystem)
 {
     this.configuration = configuration;
     this.htmlHeaderFormatter = htmlHeaderFormatter;
     this.htmlTableOfContentsFormatter = htmlTableOfContentsFormatter;
     this.htmlContentFormatter = htmlContentFormatter;
     this.htmlFooterFormatter = htmlFooterFormatter;
     this.htmlResources = htmlResources;
     this.fileSystem = fileSystem;
 }