Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
 public TemplatePages(TemplateContext context) => this.Context = context;
Esempio n. 3
0
 public TemplatePage(TemplateContext context, IVirtualFile file, Script.PageFormat format = null) : base(context, file, format)
 {
 }