Example #1
0
 public RazorJSCompiler()
 {
     this._templateParser     = new CSharpRazorTemplateParser();
     this._templateBuilder    = new RazorJSTemplateBuilder();
     this._documentTranslator = new DocumentTranslator();
 }
Example #2
0
 public RazorJSCompiler(ITemplateParser templateParser, ITemplateBuilder templateBuilder, IDocumentTranslator documentTranslator)
 {
     this._templateParser     = templateParser;
     this._templateBuilder    = templateBuilder;
     this._documentTranslator = documentTranslator;
 }
 public DocumentProcessor(IDocumentTranslator <TDocument> translator)
 {
     this.translator = translator;
 }