public HelpSource(string base_filename, bool create) { this.name = Path.GetFileName(base_filename); this.basePath = Path.GetDirectoryName(base_filename); this.treeFilePath = base_filename + ".tree"; this.storage = new Monodoc.Storage.ZipStorage(base_filename + ".zip"); this.cache = DocCacheHelper.GetDefaultCache(Name); tree = create ? new Tree(this, string.Empty, string.Empty) : new Tree(this, treeFilePath); source_id = id++; }
public HtmlGenerator(IDocCache defaultCache) { this.defaultCache = defaultCache; }
public HelpSource() { tree = new Tree(this, "Blah", "Blah"); source_id = id++; this.cache = new Caches.NullCache(); }