Exemple #1
0
        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;
 }
Exemple #3
0
 public TagGenerator(ITagLibrary <T> library, ITagRequestBuilder tagRequestBuilder, ActiveProfile profile)
 {
     _library           = library;
     _tagRequestBuilder = tagRequestBuilder;
     _profile           = profile;
 }