Example #1
0
 public TemplateContext(ICompiledTemplate compiledTemplate)
 {
     this.CompiledTemplate = compiledTemplate;
     this.Results          = CompilationResults.Success();
 }
Example #2
0
 public TemplateContext(Exception compilationException)
 {
     this.Results = CompilationResults.Failed(compilationException);
 }