Описание тега validationattribute
Used for classes Validation Attribute Classes in .NET within the System.ComponentModel.DataAnnotations namespace
The ValidationAttribute
class provides validation on class properties. It can be overridden to provide custom validation logic.
When implemented with IClientValidatable
and unobtrusive-validation also adds client side validation logic.
The following classes are derived from Validation Attribute: