15 references to GetHtmlHelper
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (15)
DefaultDisplayTemplatesTest.cs (3)
102var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider); 158var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider); 240var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider: provider);
DefaultEditorTemplatesTest.cs (4)
230var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider); 325var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider: provider); 391var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider: provider); 480var html = DefaultTemplatesUtilities.GetHtmlHelper(model, provider: provider);
Rendering\DefaultTemplatesUtilities.cs (3)
140return GetHtmlHelper<TModel>(model: default(TModel), provider: provider); 145return GetHtmlHelper<ObjectTemplateModel>(model: null, provider: provider); 151return GetHtmlHelper<IEnumerable<ObjectTemplateModel>>(model: null, provider: provider);
Rendering\HtmlHelperDisplayTextTest.cs (5)
51var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: null, provider: provider); 70var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: null, provider: provider); 138var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: model, provider: provider); 162var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: model, provider: provider); 187var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: model, provider: provider);