2 types derived from HtmlHelper
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlHelperOfT.cs (1)
18public class HtmlHelper<TModel> : HtmlHelper, IHtmlHelper<TModel>
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\HtmlHelperSelectTest.cs (1)
1570private class TestHtmlHelper : HtmlHelper
1 instantiation of HtmlHelper
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\DefaultTemplatesUtilities.cs (1)
256var innerHelper = (IHtmlHelper)new HtmlHelper(
18 references to HtmlHelper
Microsoft.AspNetCore.Mvc.ViewFeatures (14)
DefaultEditorTemplates.cs (1)
197var htmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributesObject);
DefaultHtmlGenerator.cs (8)
586tagBuilder.AddCssClass(HtmlHelper.ValidationInputCssClassName); 672tagBuilder.AddCssClass(HtmlHelper.ValidationInputCssClassName); 767HtmlHelper.ValidationMessageCssClassName : 768HtmlHelper.ValidationMessageValidCssClassName; 876tagBuilder.AddCssClass(HtmlHelper.ValidationSummaryValidCssClassName); 880tagBuilder.AddCssClass(HtmlHelper.ValidationSummaryCssClassName); 1264tagBuilder.AddCssClass(HtmlHelper.ValidationInputCssClassName); 1427htmlAttributeDictionary = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
156services.TryAddTransient<IHtmlHelper, HtmlHelper>();
HtmlHelper.cs (1)
59/// Initializes a new instance of the <see cref="HtmlHelper"/> class.
HtmlHelperOfT.cs (1)
15/// A <see cref="HtmlHelper"/> for a specific model type.
Rendering\HtmlHelperComponentExtensions.cs (1)
60ParameterView.FromDictionary(HtmlHelper.ObjectToDictionary(parameters));
TemplateBuilder.cs (1)
124foreach (var kvp in HtmlHelper.ObjectToDictionary(_additionalViewData))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
DefaultEditorTemplatesTest.cs (1)
1626var htmlAttributesDictionary = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
Rendering\HtmlHelperFormTest.cs (1)
810var dictionary = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
Rendering\HtmlHelperTest.cs (2)
142var result = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributeObject); 386var result = HtmlHelper.GetFormMethodString(method);