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