3 writes to Tag
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (3)
183
[CustomModelValidator(
Tag
= "Class")]
190
[CustomModelValidator(
Tag
= "Property")]
196
[CustomModelValidator(
Tag
= "Property")]
4 references to Tag
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (4)
49
Assert.Equal("Class", validator.
Tag
);
71
Assert.Equal("Property", validator.
Tag
);
93
Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).
Tag
== "Class");
94
Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).
Tag
== "Property");