25 references to GetExplorerForProperty
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageCreateModelExpressionTest.cs (2)
24var modelExplorer = viewContext.ViewData.ModelExplorer.GetExplorerForProperty( 49var modelExplorer = viewContext.ViewData.ModelExplorer.GetExplorerForProperty(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (7)
LabelTagHelperTest.cs (1)
300var modelExplorer = containerExplorer.GetExplorerForProperty(name);
PartialTagHelperTest.cs (6)
72var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property)); 113var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property)); 135var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property)); 322var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property)); 369var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property)); 416var propertyModelExplorer = containerModelExplorer.GetExplorerForProperty(nameof(TestModel.Property));
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
ExpressionMetadataProvider.cs (1)
147var 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)
35var 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)
94var propertyExplorer = modelExplorer.GetExplorerForProperty("Base1"); 111var propertyExplorer = modelExplorer.GetExplorerForProperty("Base1"); 133var propertyExplorer = modelExplorer.GetExplorerForProperty("BadName");
Rendering\HtmlHelperLabelExtensionsTest.cs (2)
117.GetExplorerForProperty(propertyName); 294.GetExplorerForProperty(nameof(DefaultTemplatesUtilities.ObjectTemplateModel.Property1));