Example #1
0
        public HtmlPage(string path, PageGenerator PageGenerator, TagCollector TagCollector, string overrideHtml = "")
        {
            this.Path          = PathUtils.NormalizePath(path);
            this.PageGenerator = PageGenerator;
            this.TagCollector  = TagCollector;

            PageGenerator.Pages[this.Path] = this;

            if (!string.IsNullOrEmpty(overrideHtml))
            {
                OverrideHtml(overrideHtml);
            }
        }
Example #2
0
 public Interactive(PageGenerator PageGenerator)
 {
     this.PageGenerator = PageGenerator;
 }