4 overrides of ModelBindingMessageProvider
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
40public override ModelBindingMessageProvider ModelBindingMessageProvider { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
644public override ModelBindingMessageProvider ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
40public override ModelBindingMessageProvider ModelBindingMessageProvider { get; } = new DefaultModelBindingMessageProvider();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
336public override ModelBindingMessageProvider ModelBindingMessageProvider =>
23 references to ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateDictionary.cs (1)
282var messageProvider = metadata.ModelBindingMessageProvider;
Microsoft.AspNetCore.Mvc.Core (19)
ModelBinding\Binders\BodyModelBinder.cs (1)
178.ModelBindingMessageProvider
ModelBinding\Binders\CollectionModelBinder.cs (1)
220var messageProvider = modelMetadata.ModelBindingMessageProvider;
ModelBinding\Binders\ComplexObjectModelBinder.cs (3)
120var messageProvider = modelMetadata.ModelBindingMessageProvider; 471var message = property.ModelBindingMessageProvider.MissingBindRequiredValueAccessor(fieldName); 500var message = parameter.ModelBindingMessageProvider.MissingBindRequiredValueAccessor(fieldName);
ModelBinding\Binders\ComplexTypeModelBinder.cs (2)
185var messageProvider = modelMetadata.ModelBindingMessageProvider; 291var message = property.ModelBindingMessageProvider.MissingBindRequiredValueAccessor(fieldName);
ModelBinding\Binders\DateTimeModelBinder.cs (1)
81metadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Binders\DecimalModelBinder.cs (1)
84metadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Binders\DoubleModelBinder.cs (1)
84metadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Binders\EnumTypeModelBinder.cs (1)
53bindingContext.ModelMetadata.ModelBindingMessageProvider.ValueIsInvalidAccessor(
ModelBinding\Binders\FloatModelBinder.cs (1)
84metadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Binders\KeyValuePairModelBinder.cs (2)
66bindingContext.ModelMetadata.ModelBindingMessageProvider.MissingKeyOrValueAccessor()); 75bindingContext.ModelMetadata.ModelBindingMessageProvider.MissingKeyOrValueAccessor());
ModelBinding\Binders\SimpleTypeModelBinder.cs (1)
124bindingContext.ModelMetadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Binders\TryParseModelBinder.cs (1)
75bindingContext.ModelMetadata.ModelBindingMessageProvider.ValueMustNotBeNullAccessor(
ModelBinding\Metadata\BindingMetadata.cs (1)
82/// <see cref="ModelMetadata.ModelBindingMessageProvider"/>.
ModelBinding\ParameterBinder.cs (1)
186var message = metadata.ModelBindingMessageProvider.MissingBindRequiredValueAccessor(modelName);
MvcOptions.cs (1)
169/// <see cref="ModelMetadata.ModelBindingMessageProvider"/> property of all <see cref="ModelMetadata"/>
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\ParameterBinderTest.cs (1)
722.Setup(o => o.ModelBindingMessageProvider)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
NumericClientModelValidator.cs (1)
36var messageProvider = modelMetadata.ModelBindingMessageProvider;
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ValidationHelpers.cs (1)
40return modelExplorer.Metadata.ModelBindingMessageProvider.ValueIsInvalidAccessor(attemptedValue);