10 references to ValidatorItem
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ValidatorCache.cs (2)
34
items.Add(new
ValidatorItem
(metadata.ValidatorMetadata[i]));
85
items.Add(new
ValidatorItem
(item.ValidatorMetadata));
Microsoft.AspNetCore.Mvc.Core.Test (6)
ControllerBaseTest.cs (2)
3097
var validator1 = new
ValidatorItem
(validator.Object);
3134
var validator1 = new
ValidatorItem
(validator.Object);
ModelBinding\Validation\CompositeModelValidatorProviderTest.cs (3)
15
var validator1 = new
ValidatorItem
(validatorMetadata);
16
var validator2 = new
ValidatorItem
(validatorMetadata);
17
var validator3 = new
ValidatorItem
(validatorMetadata);
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (1)
172
return metadata.ValidatorMetadata.Select(v => new
ValidatorItem
(v)).ToList();
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
DataAnnotationsModelValidatorProviderTest.cs (1)
165
items.Add(new
ValidatorItem
(metadata.ValidatorMetadata[i]));
DefaultModelClientValidatorProviderTest.cs (1)
197
return metadata.ValidatorMetadata.Select(v => new
ValidatorItem
(v)).ToList();