19 references to GetFieldValidationState
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelValidationState.cs (1)
11
/// the aggregate validity (<see cref="ModelStateDictionary.
GetFieldValidationState
(string)"/>)
Microsoft.AspNetCore.Mvc.Abstractions.Test (14)
ModelBinding\ModelStateDictionaryTest.cs (14)
364
var validationState = dictionary.
GetFieldValidationState
("foo");
395
var validationState = dictionary.
GetFieldValidationState
("foo");
412
var validationState = dictionary.
GetFieldValidationState
("foo");
428
var validationState = dictionary.
GetFieldValidationState
("[0].foo");
444
var validationState = dictionary.
GetFieldValidationState
("[0].foo");
493
var fieldValidationState = modelState.
GetFieldValidationState
("foo");
509
var validationState = modelState.
GetFieldValidationState
("foo.bar");
524
var validationState = modelState.
GetFieldValidationState
("foo.bar");
672
var validationState = dictionary.
GetFieldValidationState
("not-user");
688
var validationState = dictionary.
GetFieldValidationState
("user");
707
var validationState = dictionary.
GetFieldValidationState
(key);
726
var validationState = dictionary.
GetFieldValidationState
(key);
741
var validationState = dictionary.
GetFieldValidationState
("user");
1614
var validationState = dictionary.
GetFieldValidationState
("foo");
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
727
var validationState = modelState.
GetFieldValidationState
(modelName);
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
565
var validationState = modelState.
GetFieldValidationState
(modelName);
ModelBinding\Validation\ValidationVisitor.cs (2)
242
state = ModelState.
GetFieldValidationState
(Key);
337
ModelState.
GetFieldValidationState
(key) != ModelValidationState.Invalid)