13 references to ForProperty
Microsoft.AspNetCore.Mvc.Core.Test (8)
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (1)
77metadataProvider.ForProperty(
ModelBinding\Binders\ArrayModelBinderTest.cs (2)
149.ForProperty(typeof(ModelWithArrayProperty), nameof(ModelWithArrayProperty.ArrayProperty)) 195metadataProvider.ForProperty(
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
405.ForProperty(typeof(ModelWithListProperty), nameof(ModelWithListProperty.ListProperty))
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
567.ForProperty(
ModelBinding\DefaultModelBindingContextTest.cs (2)
91.ForProperty(typeof(string), nameof(string.Length)) 119.ForProperty(typeof(string), nameof(string.Length))
ModelBinding\ParameterBinderTest.cs (1)
158.ForProperty(typeof(Family), nameof(Family.Mom))
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestModelMetadataProvider.cs (1)
141return ForProperty(typeof(TContainer), propertyName);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
NumericClientModelValidatorTest.cs (1)
45.ForProperty(typeof(TypeWithNumericProperty), nameof(TypeWithNumericProperty.Id))
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ComplexTypeIntegrationTestBase.cs (1)
2158.ForProperty(typeof(Order10), nameof(Order10.Customer))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
RemoteAttributeBaseTest.cs (2)
350.ForProperty(typeof(string), nameof(string.Length)) 390.ForProperty(typeof(string), nameof(string.Length))