27 references to ForProperty
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
DefaultApiDescriptionProviderTest.cs (2)
2078.ForProperty<Person>(nameof(Person.Name)) 2129.ForProperty<Person>(nameof(Person.Name))
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
482.ForProperty<ModelWithIListProperty>(nameof(ModelWithIListProperty.ListProperty))
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
670.ForProperty<ModelWithIDictionaryProperty>(nameof(ModelWithIDictionaryProperty.DictionaryProperty))
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
436.ForProperty<ModelWithReadOnlyArray>(nameof(ModelWithReadOnlyArray.ArrayProperty))
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
400.ForProperty<ModelWithReadOnlyArray>(nameof(ModelWithReadOnlyArray.ArrayProperty))
ModelBinding\ModelBinderFactoryTest.cs (1)
104.ForProperty<Widget>(nameof(Widget.Id))
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
BodyValidationIntegrationTests.cs (1)
815.ForProperty<Person6>(nameof(Person6.Address))
ServicesModelBinderIntegrationTest.cs (1)
352.ForProperty<Person>(nameof(Person.Service));
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
InputTagHelperTest.cs (4)
1279metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1445metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1657metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName); 1772metadataProvider.ForProperty<Model>("Text").DisplayDetails(dd => dd.DataTypeName = dataTypeName);
LabelTagHelperTest.cs (1)
286.ForProperty<NestedModel>(name)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
DefaultDisplayTemplatesTest.cs (1)
153provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd =>
DefaultEditorTemplatesTest.cs (6)
225.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>( 385provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd => 646provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd => 689provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd => 731provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd => 774provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").DisplayDetails(dd =>
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (1)
122.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1")
Rendering\HtmlHelperLabelExtensionsTest.cs (5)
288.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1") 318.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1") 339.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1") 363.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1") 387.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1")