1 override of ValidationState
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
144
public override ValidationStateDictionary
ValidationState
15 references to ValidationState
Microsoft.AspNetCore.Mvc.Core (10)
ModelBinding\Binders\CancellationTokenModelBinder.cs (1)
25
bindingContext.
ValidationState
.Add(model, new ValidationStateEntry() { SuppressValidation = true });
ModelBinding\Binders\CollectionModelBinder.cs (1)
171
bindingContext.
ValidationState
.Add(model, new ValidationStateEntry()
ModelBinding\Binders\DictionaryModelBinder.cs (1)
214
bindingContext.
ValidationState
.Add(model, new ValidationStateEntry()
ModelBinding\Binders\FormFileModelBinder.cs (1)
121
bindingContext.
ValidationState
.Add(value, new ValidationStateEntry()
ModelBinding\Binders\KeyedServicesModelBinder.cs (1)
37
bindingContext.
ValidationState
.Add(model, new ValidationStateEntry() { SuppressValidation = true });
ModelBinding\Binders\ServicesModelBinder.cs (1)
31
bindingContext.
ValidationState
.Add(model, new ValidationStateEntry() { SuppressValidation = true });
ModelBinding\ModelBindingHelper.cs (1)
275
modelBindingContext.
ValidationState
,
ModelBinding\ParameterBinder.cs (3)
162
modelBindingContext.
ValidationState
,
194
modelBindingContext.
ValidationState
,
224
modelBindingContext.
ValidationState
,
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\FormFileModelBinderTest.cs (5)
65
var entry = bindingContext.
ValidationState
[bindingContext.Result.Model];
105
var entry = bindingContext.
ValidationState
[bindingContext.Result.Model];
147
var entry = bindingContext.
ValidationState
[bindingContext.Result.Model];
181
var entry = bindingContext.
ValidationState
[bindingContext.Result.Model];
217
var entry = bindingContext.
ValidationState
[bindingContext.Result.Model];