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