easy_validation library

Classes

DateTimeRange
DateTimeRange validator permits you to check that a datetime using by declared settings.
EasyValidator
@easyVallidator must be declared on each class you want to submit to validation. You must declared by writing @easyVallidator of the top of your class.
EqualTo
EqualTo validator permits you to check that a value is equal to the value of another property.
GreaterOrEqualTo
GreaterOrEqualTo validator permits you to check that a value is greater or equal to the value of another property.
GreaterThan
GreaterThan validator permits you to check that a value is greater than the value of another property.
MembershipPassword
MembershipPassword validator permits you to check that a string value is accordance with declared settings.
ModelState
Encapsulates the state of model binding or one of those properties.
NumberRange
NumberRange validator permits you to check that a number using by declared settings.
RegularExpression
RegularExpression validator permits you to check that a string value is accordance with provided regular expression.
Required
Required validator permits you to check that a value is provided.
SmallerOrEqualTo
SmallerOrEqualTo validator permits you to check that a value is smaller or equal to the value of another property.
SmallerThan
SmallerThan validator permits you to check that a value is smaller than the value of another property.
StringLength
StringLength validator permits you to check that a string value has a length between two values.
ValidationAnnotation
ValidationAnnotation is the parent class for every validators you will create and use.
ValidationError
This class provides a error report in case of no-validation of the current model or property.
ValidationHelper
ValidationHelper somes utilities for validators

Constants

easyValidator → const EasyValidator
const EasyValidator()