3 writes to Tag
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DefaultModelClientValidatorProviderTest.cs (3)
208
[CustomModelValidator(
Tag
= "Class")]
215
[CustomModelValidator(
Tag
= "Property")]
221
[CustomModelValidator(
Tag
= "Property")]
4 references to Tag
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DefaultModelClientValidatorProviderTest.cs (4)
51
Assert.Equal("Class", customModelValidator.
Tag
);
73
Assert.Equal("Property", validatorItem.
Tag
);
95
Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).
Tag
== "Class");
96
Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).
Tag
== "Property");