1 write to ModelExplorer
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ModelExpression.cs (1)
28ModelExplorer = modelExplorer;
40 references to ModelExplorer
Microsoft.AspNetCore.Mvc.Razor.Test (4)
RazorPageCreateModelExpressionTest.cs (4)
40Assert.Same(modelExplorer, modelExpression.ModelExplorer); 65Assert.Same(modelExplorer, modelExpression.ModelExplorer); 120Assert.NotNull(modelExpression.ModelExplorer); 121Assert.NotSame(modelExplorer, modelExpression.ModelExplorer);
Microsoft.AspNetCore.Mvc.TagHelpers (7)
InputTagHelper.cs (1)
181var modelExplorer = For.ModelExplorer;
LabelTagHelper.cs (1)
57For.ModelExplorer,
SelectTagHelper.cs (3)
98var realModelType = For.ModelExplorer.ModelType; 101_currentValues = Generator.GetCurrentValues(ViewContext, For.ModelExplorer, For.Name, _allowMultiple); 147For.ModelExplorer,
TextAreaTagHelper.cs (1)
85For.ModelExplorer,
ValidationMessageTagHelper.cs (1)
88For.ModelExplorer,
Microsoft.AspNetCore.Mvc.TagHelpers.Test (12)
InputTagHelperTest.cs (11)
869tagHelper.For.ModelExplorer, 1189tagHelper.For.ModelExplorer, 1198tagHelper.For.ModelExplorer, 1300tagHelper.For.ModelExplorer, 1466tagHelper.For.ModelExplorer, 1560tagHelper.For.ModelExplorer, 1678tagHelper.For.ModelExplorer, 1794tagHelper.For.ModelExplorer, 1863tagHelper.For.ModelExplorer, 1932tagHelper.For.ModelExplorer, 2026tagHelper.For.ModelExplorer,
ValidationMessageTagHelperTest.cs (1)
243modelExpression.ModelExplorer,
Microsoft.AspNetCore.Mvc.ViewFeatures (17)
HtmlHelperOfT.cs (15)
99modelExpression.ModelExplorer, 116modelExpression.ModelExplorer, 134modelExpression.ModelExplorer, 146return GenerateDisplayName(modelExpression.ModelExplorer, modelExpression.Name); 159return GenerateDisplayName(modelExpression.ModelExplorer, modelExpression.Name); 181modelExpression.ModelExplorer, 196modelExpression.ModelExplorer, 220return GenerateLabel(modelExpression.ModelExplorer, modelExpression.Name, labelText, htmlAttributes); 234return GenerateListBox(modelExpression.ModelExplorer, name, selectList, htmlAttributes); 255modelExpression.ModelExplorer, 272modelExpression.ModelExplorer, 289return GenerateTextArea(modelExpression.ModelExplorer, modelExpression.Name, rows, columns, htmlAttributes); 302modelExpression.ModelExplorer, 337return modelExpression.ModelExplorer; 351modelExpression.ModelExplorer,
ModelExpression.cs (2)
39public ModelMetadata Metadata => ModelExplorer.Metadata; 48public object Model => ModelExplorer.Model;