1 write to ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
47
ModelBindingMessageProvider
= new DefaultModelBindingMessageProvider();
8 references to ModelBindingMessageProvider
Microsoft.AspNetCore.Mvc.Abstractions.Test (6)
ModelBinding\ModelStateDictionaryTest.cs (6)
1000
optionsAccessor.Value.
ModelBindingMessageProvider
.SetUnknownValueIsInvalidAccessor(
1026
optionsAccessor.Value.
ModelBindingMessageProvider
.SetNonPropertyUnknownValueIsInvalidAccessor(
1054
optionsAccessor.Value.
ModelBindingMessageProvider
.SetNonPropertyUnknownValueIsInvalidAccessor(
1115
optionsAccessor.Value.
ModelBindingMessageProvider
.SetAttemptedValueIsInvalidAccessor(
1142
optionsAccessor.Value.
ModelBindingMessageProvider
.SetNonPropertyAttemptedValueIsInvalidAccessor(
1171
optionsAccessor.Value.
ModelBindingMessageProvider
.SetNonPropertyAttemptedValueIsInvalidAccessor(
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (2)
66
/// <value>Same as <see cref="MvcOptions.
ModelBindingMessageProvider
"/> in all production scenarios.</value>
147
return optionsAccessor.Value.
ModelBindingMessageProvider
;