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