public TemplateWriter(ActiveProfile profile, HtmlConventionLibrary library, ITagRequestBuilder tagRequestBuilder) { _library = library; var factory = new TagGeneratorFactory(profile, library, tagRequestBuilder); _elements = new Lazy <ITagGenerator <ElementRequest> >(factory.GeneratorFor <ElementRequest>); }
public TagGeneratorFactory(ActiveProfile profile, HtmlConventionLibrary library, ITagRequestBuilder tagRequestBuilder) { _profile = profile; _library = library; _tagRequestBuilder = tagRequestBuilder; }
public TagGenerator(ITagLibrary <T> library, ITagRequestBuilder tagRequestBuilder, ActiveProfile profile) { _library = library; _tagRequestBuilder = tagRequestBuilder; _profile = profile; }