106 references to GetHtmlHelper
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (106)
DefaultDisplayTemplatesTest.cs (3)
56var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 172var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 214var html = DefaultTemplatesUtilities.GetHtmlHelper(model);
DefaultEditorTemplatesTest.cs (6)
193var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 405var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 452var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 503var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 528var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 552var helper = DefaultTemplatesUtilities.GetHtmlHelper<string>(model: null);
Rendering\DefaultTemplatesUtilities.cs (3)
52return GetHtmlHelper<ObjectTemplateModel>(model: null); 57return GetHtmlHelper<IEnumerable<ObjectTemplateModel>>(model: null); 135return GetHtmlHelper<IEnumerable<TModel>>(new TModel[] { model });
Rendering\HtmlHelperCheckboxTest.cs (3)
94var helper = DefaultTemplatesUtilities.GetHtmlHelper(model: false); 111var helper = DefaultTemplatesUtilities.GetHtmlHelper(model: false); 526var helper = DefaultTemplatesUtilities.GetHtmlHelper(model: false);
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (4)
19DefaultTemplatesUtilities.GetHtmlHelper<IEnumerable<DefaultTemplatesUtilities.ObjectTemplateModel>>(model: null); 73var helper = DefaultTemplatesUtilities.GetHtmlHelper<OuterClass>(model: null); 178DefaultTemplatesUtilities.GetHtmlHelper<IEnumerable<DefaultTemplatesUtilities.ObjectTemplateModel>>(model: null); 208DefaultTemplatesUtilities.GetHtmlHelper<IEnumerable<DefaultTemplatesUtilities.ObjectTemplateModel>>(model: null);
Rendering\HtmlHelperDisplayTextTest.cs (13)
19var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: null); 32var helper = DefaultTemplatesUtilities.GetHtmlHelper<OverriddenToStringModel>(model: null); 84var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 100var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 114var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 204var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 221var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 239var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 257var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 282var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 304var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 320var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 336var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperHiddenTest.cs (2)
424var helper = DefaultTemplatesUtilities.GetHtmlHelper("model-value"); 446var helper = DefaultTemplatesUtilities.GetHtmlHelper("model-value");
Rendering\HtmlHelperLabelExtensionsTest.cs (1)
96var helper = DefaultTemplatesUtilities.GetHtmlHelper<OuterClass>(model: null);
Rendering\HtmlHelperNameExtensionsTest.cs (3)
143var helper = DefaultTemplatesUtilities.GetHtmlHelper<OuterClass>(model: null); 313var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 330var helper = DefaultTemplatesUtilities.GetHtmlHelper(index);
Rendering\HtmlHelperPartialExtensionsTest.cs (2)
355var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 385var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperPasswordTest.cs (4)
147var helper = DefaultTemplatesUtilities.GetHtmlHelper("model-value"); 165var helper = DefaultTemplatesUtilities.GetHtmlHelper("model-value"); 437var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 504var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperRadioButtonExtensionsTest.cs (2)
169var helper = DefaultTemplatesUtilities.GetHtmlHelper("anotherValue"); 186var helper = DefaultTemplatesUtilities.GetHtmlHelper("anotherValue");
Rendering\HtmlHelperSelectTest.cs (22)
394var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 564var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 580var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 647var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 671var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 692var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 747var helper = DefaultTemplatesUtilities.GetHtmlHelper<ModelContainingList>(model: null); 776var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 797var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 967var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 983var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 1003var helper = DefaultTemplatesUtilities.GetHtmlHelper<ModelContainingList>(model: null); 1024var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 1069var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 1088var helper = DefaultTemplatesUtilities.GetHtmlHelper<string>(model: null); 1120var helper = DefaultTemplatesUtilities.GetHtmlHelper("2"); 1144var helper = DefaultTemplatesUtilities.GetHtmlHelper<string>(model: null); 1164var helper = DefaultTemplatesUtilities.GetHtmlHelper("2"); 1185var helper = DefaultTemplatesUtilities.GetHtmlHelper<List<string>>(model: null); 1215var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 1236var helper = DefaultTemplatesUtilities.GetHtmlHelper<List<string>>(model: null); 1258var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperTest.cs (6)
292.GetHtmlHelper<BaseModel>(model: null); 295.GetHtmlHelper<DerivedModel>(model: null) 313.GetHtmlHelper<BaseModel>(model: null); 316.GetHtmlHelper<NonDerivedModel>(model: null) 333.GetHtmlHelper<BaseModel>(model: null); 336.GetHtmlHelper<BaseModel>(model: null)
Rendering\HtmlHelperTextAreaTest.cs (4)
16var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 31var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 74var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 121var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperTextBoxExtensionsTest.cs (4)
121var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 149var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 175var helper = DefaultTemplatesUtilities.GetHtmlHelper("propValue"); 195var helper = DefaultTemplatesUtilities.GetHtmlHelper("propValue");
Rendering\HtmlHelperTextBoxTest.cs (4)
22var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 49var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 92var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 139var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperValidationSummaryTest.cs (13)
137var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 160var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 183var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 207var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 232var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 258var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 282var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 309var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 346var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 375var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 405var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 437var html = DefaultTemplatesUtilities.GetHtmlHelper(model); 476var html = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperValueExtensionsTest.cs (4)
15var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 29var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 43var helper = DefaultTemplatesUtilities.GetHtmlHelper(model); 57var helper = DefaultTemplatesUtilities.GetHtmlHelper(model);
Rendering\HtmlHelperValueTest.cs (3)
158var helper = DefaultTemplatesUtilities.GetHtmlHelper<TestModel>(model); 216var helper = DefaultTemplatesUtilities.GetHtmlHelper<TestModel>(model); 256var helper = DefaultTemplatesUtilities.GetHtmlHelper<TestModel>(model);