1 write to ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
99context.BindingMetadata.ModelBindingMessageProvider =
11 references to ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
337BindingMetadata.ModelBindingMessageProvider!;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
133d.ModelBindingMessageProvider.SetMissingRequestBodyRequiredValueAccessor(
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
NumericClientModelValidatorTest.cs (3)
48d.ModelBindingMessageProvider.SetValueMustBeANumberAccessor( 83d.ModelBindingMessageProvider.SetValueMustBeANumberAccessor( 110.BindingDetails(d => d.ModelBindingMessageProvider.SetNonPropertyValueMustBeANumberAccessor(
Microsoft.AspNetCore.Mvc.IntegrationTests (6)
ComplexRecordIntegrationTest.cs (1)
2009binding.ModelBindingMessageProvider.SetMissingBindRequiredValueAccessor(
ComplexTypeIntegrationTestBase.cs (1)
2162binding.ModelBindingMessageProvider.SetMissingBindRequiredValueAccessor(
KeyValuePairModelBinderIntegrationTest.cs (2)
100binding.ModelBindingMessageProvider.SetMissingKeyOrValueAccessor( 187binding.ModelBindingMessageProvider.SetMissingKeyOrValueAccessor(
SimpleTypeModelBinderIntegrationTest.cs (2)
420binding.ModelBindingMessageProvider.SetNonPropertyAttemptedValueIsInvalidAccessor( 523binding.ModelBindingMessageProvider.SetValueMustNotBeNullAccessor(