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)
51Assert.Equal("Class", customModelValidator.Tag); 73Assert.Equal("Property", validatorItem.Tag); 95Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).Tag == "Class"); 96Assert.Single(validatorItems, v => Assert.IsType<CustomModelValidatorAttribute>(v.Validator).Tag == "Property");