2 writes to HtmlHelperOptions
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
DefaultHtmlGeneratorTest.cs (2)
364
var htmlGenerator = GetGenerator(metadataProvider, new() {
HtmlHelperOptions
= htmlHelperOptions });
394
var htmlGenerator = GetGenerator(metadataProvider, new() {
HtmlHelperOptions
= htmlHelperOptions });
14 references to HtmlHelperOptions
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerProvider.cs (1)
99
_mvcViewOptions.
HtmlHelperOptions
);
Infrastructure\PageRequestDelegateFactory.cs (1)
112
_mvcViewOptions.
HtmlHelperOptions
);
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
DefaultHtmlGenerator.cs (2)
75
_formInputRenderMode = optionsAccessor.Value.
HtmlHelperOptions
.FormInputRenderMode;
78
IdAttributeDotReplacement = optionsAccessor.Value.
HtmlHelperOptions
.IdAttributeDotReplacement;
ViewComponentResultExecutor.cs (1)
58
_htmlHelperOptions = mvcHelperOptions.Value.
HtmlHelperOptions
;
ViewExecutor.cs (1)
163
ViewOptions.
HtmlHelperOptions
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\DefaultTemplatesUtilities.cs (2)
234
options.
HtmlHelperOptions
.IdAttributeDotReplacement = idAttributeDotReplacement;
296
options.
HtmlHelperOptions
);
RazorPagesWebSite (1)
StartupWithClientValidationDisabled.cs (1)
21
services.Configure<MvcViewOptions>(o => o.
HtmlHelperOptions
.ClientValidationEnabled = false);
RazorWebSite (5)
Startup.cs (5)
27
options.
HtmlHelperOptions
.ClientValidationEnabled = false;
28
options.
HtmlHelperOptions
.Html5DateRenderingMode = Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode.Rfc3339;
29
options.
HtmlHelperOptions
.IdAttributeDotReplacement = "!";
30
options.
HtmlHelperOptions
.ValidationMessageElement = "validationMessageElement";
31
options.
HtmlHelperOptions
.ValidationSummaryMessageElement = "validationSummaryElement";