Implemented interface member:
32 references to Add
Microsoft.AspNetCore.Mvc.Core (6)
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 });
Microsoft.AspNetCore.Mvc.Core.Test (26)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (26)
34
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
60
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
89
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
116
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter", SuppressValidation = true });
166
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
198
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
228
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
266
validationState.
Add
(model, new ValidationStateEntry() { Key = "person" });
267
validationState.
Add
(model.Address, new ValidationStateEntry()
303
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
335
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
367
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
480
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
527
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
626
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
657
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
693
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
733
validationState.
Add
(model, new ValidationStateEntry() { Key = "user", });
763
validationState.
Add
(model, new ValidationStateEntry() { Key = "parameter" });
794
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
837
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
913
validationState.
Add
(model, new ValidationStateEntry()
995
validationState.
Add
(model, new ValidationStateEntry() { Key = "items" });
1036
validationState.
Add
(model, new ValidationStateEntry() { Key = string.Empty });
1142
validationState.
Add
(model, new ValidationStateEntry() { Key = "user", });
1172
validationState.
Add
(model, new ValidationStateEntry() { Key = "userIds", });