public ConventionsHtmlGenerator(IAntiforgery antiforgery, IOptions <MvcViewOptions> optionsAccessor, IModelMetadataProvider metadataProvider, IUrlHelperFactory urlHelperFactory, HtmlEncoder htmlEncoder, ValidationHtmlAttributeProvider validationAttributeProvider, IOptions <ConventionsHtmlGeneratorOptions> options) : base(antiforgery, optionsAccessor, metadataProvider, urlHelperFactory, htmlEncoder, validationAttributeProvider) { _options = options.Value; }
public ConventionsHtmlGenerator(IHtmlGenerator htmlGenerator, IOptions <ConventionsHtmlGeneratorOptions> options) { _htmlGenerator = htmlGenerator; _options = options.Value; }