public HtmlTemplateToJavaScriptTransformer(string javaScriptTemplate, HtmlTemplateBundle bundle, IJsonSerializer serializer, IHtmlTemplateIdStrategy idStrategy) { this.javaScriptTemplate = javaScriptTemplate; this.bundle = bundle; this.serializer = serializer; this.idStrategy = idStrategy; }
public RegisterTemplateWithHogan(HtmlTemplateBundle bundle, string javaScriptVariableName, IHtmlTemplateIdStrategy idStrategy) { this.bundle = bundle; this.javaScriptVariableName = javaScriptVariableName; this.idStrategy = idStrategy; }
public WrapHtmlTemplateInScriptElement(HtmlTemplateBundle bundle, IHtmlTemplateIdStrategy idStrategy) { this.bundle = bundle; this.idStrategy = idStrategy; }
public RegisterTemplatesWithHogan(string javaScriptVariableName, IHtmlTemplateIdStrategy idStrategy) { this.idStrategy = idStrategy; this.javaScriptVariableName = javaScriptVariableName ?? "JST"; }
public HtmlTemplateToJavaScriptTransformerTests() { asset = new Mock<IAsset>(); htmlTemplateIdStrategy = new HtmlTemplateIdBuilder(); bundle = new HtmlTemplateBundle("~"); }
void GivenIdStrategy(IHtmlTemplateIdStrategy htmlTemplateIdStrategy) { this.htmlTemplateIdStrategy = htmlTemplateIdStrategy; }
public RegisterTemplateWithJQueryTmpl(HtmlTemplateBundle bundle, IHtmlTemplateIdStrategy idStrategy) { this.bundle = bundle; this.idStrategy = idStrategy; }
public HtmlTemplateToJavaScriptTransformerTests() { asset = new Mock <IAsset>(); htmlTemplateIdStrategy = new HtmlTemplateIdBuilder(); bundle = new HtmlTemplateBundle("~"); }
public WrapHtmlTemplatesInScriptElements(IHtmlTemplateIdStrategy idStrategy) { this.idStrategy = idStrategy; }