Base:
property
ValidationState
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.ValidationState
7 writes to ValidationState
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
219ValidationState = new ValidationStateDictionary(),
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Binders\CancellationTokenModelBinderTests.cs (1)
38ValidationState = new ValidationStateDictionary(),
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
539ValidationState = new ValidationStateDictionary(),
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
630ValidationState = new ValidationStateDictionary(),
ModelBinding\Binders\FormCollectionModelBinderTest.cs (1)
77ValidationState = new ValidationStateDictionary(),
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
466ValidationState = new ValidationStateDictionary(),
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
57ValidationState = new ValidationStateDictionary(),
9 references to ValidationState
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
60Assert.DoesNotContain(boundCollection, bindingContext.ValidationState.Keys);
ModelBinding\Binders\DictionaryModelBinderTest.cs (4)
52Assert.DoesNotContain(bindingContext.Result.Model, bindingContext.ValidationState.Keys); 93Assert.DoesNotContain(bindingContext.Result.Model, bindingContext.ValidationState.Keys); 365Assert.Contains(bindingContext.Result.Model, bindingContext.ValidationState.Keys); 366var entry = bindingContext.ValidationState[bindingContext.Result.Model];
ModelBinding\Binders\FormCollectionModelBinderTest.cs (1)
32Assert.Empty(bindingContext.ValidationState);
ModelBinding\Binders\FormFileModelBinderTest.cs (2)
31var entry = bindingContext.ValidationState[bindingContext.Result.Model]; 238var entry = bindingContext.ValidationState[bindingContext.Result.Model];
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
27var entry = bindingContext.ValidationState[bindingContext.Result.Model];