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