public TemplatePartialPage(TemplateContext context, string name, IEnumerable <PageFragment> body, string format, Dictionary <string, object> args = null) : base(context, CreateFile(name, format), context.GetFormat(format)) { PageFragments = body.ToList(); Args = args ?? new Dictionary <string, object>(); }
public TemplatePages(TemplateContext context) => this.Context = context;
public TemplatePage(TemplateContext context, IVirtualFile file, Script.PageFormat format = null) : base(context, file, format) { }