Top "Validationattribute" questions

Used for classes Validation Attribute Classes in .NET within the System.

How to force ValidationAttribute to mark specified object members as invalid?

I've got my model which contains some members: public class Address { public Street { get; set;} public City { get; set; } public …

c# asp.net asp.net-mvc validation validationattribute
Testing ValidationAttribute that overrides IsValid

I'm having a bit of trouble getting my head around testing my custom validation attribute. As the method signature is …

c# asp.net-mvc unit-testing moq validationattribute