25 references to GetExplorerForProperty
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageCreateModelExpressionTest.cs (2)
24
var modelExplorer = viewContext.ViewData.ModelExplorer.
GetExplorerForProperty
(
49
var modelExplorer = viewContext.ViewData.ModelExplorer.
GetExplorerForProperty
(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (7)
LabelTagHelperTest.cs (1)
300
var modelExplorer = containerExplorer.
GetExplorerForProperty
(name);
PartialTagHelperTest.cs (6)
72
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
113
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
135
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
322
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
369
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
416
var propertyModelExplorer = containerModelExplorer.
GetExplorerForProperty
(nameof(TestModel.Property));
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
ExpressionMetadataProvider.cs (1)
147
var propertyExplorer = viewData.ModelExplorer.
GetExplorerForProperty
(expression);
ModelExplorer.cs (2)
92
/// <see cref="
GetExplorerForProperty
(string)"/>. In this case, the returned <see cref="ModelExplorer"/> will
93
/// have it's <see cref="Container"/> set to the instance upon which <see cref="
GetExplorerForProperty
(string)"/>
ModelExplorerExtensions.cs (1)
35
var propertyExplorer = modelExplorer.
GetExplorerForProperty
(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
DefaultValidationHtmlAttributeProviderTest.cs (7)
32
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
67
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
103
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
126
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
167
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
201
.
GetExplorerForProperty
(nameof(Model.HasValidatorsProperty));
239
.
GetExplorerForProperty
(nameof(Model.Property));
ModelExplorerTest.cs (3)
94
var propertyExplorer = modelExplorer.
GetExplorerForProperty
("Base1");
111
var propertyExplorer = modelExplorer.
GetExplorerForProperty
("Base1");
133
var propertyExplorer = modelExplorer.
GetExplorerForProperty
("BadName");
Rendering\HtmlHelperLabelExtensionsTest.cs (2)
117
.
GetExplorerForProperty
(propertyName);
294
.
GetExplorerForProperty
(nameof(DefaultTemplatesUtilities.ObjectTemplateModel.Property1));