Esempio n. 1
0
 public static string generateHTML(this CompiledTemplate compiledTemplate, object model)
 {
     return(generateHTML(compiledTemplate.Assembly, compiledTemplate.FullyQualifiedClassName, model));
 }
Esempio n. 2
0
 public SiteGenerator(string outputPath)
 {
     _outputPath = outputPath;
     _pageTemplate = Template.compile<PageWriter>(Path.Combine(SiteSourcePath, SiteTemplateFilename));
     _rssTemplate = Template.compile<RSSFeedWriter>(Path.Combine(SiteSourcePath, RSSFeedTemplateFilename));
 }