Comprehensive guide to all validation attributes available in EasyValidate
Date and time validation attributes
21 attributes
BirthDate
(DateTime)- BirthDate propertyDateOfBirth
(DateTime)- DateOfBirth property
EventDate
(DateTime)- EventDate propertyProjectDate
(DateTime)- ProjectDate property
PaymentDate
(DateTime)- PaymentDate propertyMonthlyReport
(DateTime)- MonthlyReport property
WorkDay
(DateTime)- WorkDay propertyWeekendEvent
(DateTime)- WeekendEvent property
EventDate
(DateTime)- EventDate propertyExpiryDate
(DateTime)- ExpiryDate property
SpecialDate
(DateTime)- SpecialDate propertyEventDate
(DateTime)- EventDate property
EmployeeBirthDate
(DateTime)- EmployeeBirthDate propertyParticipantBirthDate
(DateTime)- ParticipantBirthDate property
BirthDate
(DateTime)- BirthDate propertyDateOfBirth
(DateTime)- DateOfBirth property
VacationDate
(DateTime)- VacationDate propertyWinterEvent
(DateTime)- WinterEvent property
BirthDate
(DateTime)- BirthDate propertyPurchaseDate
(DateTime)- PurchaseDate property
EventDate
(DateTime)- EventDate propertyExpiryDate
(DateTime)- ExpiryDate property
StandardYear
(DateTime)- StandardYear propertyEventDate
(DateTime)- EventDate property
ScheduledDate
(DateTime)- ScheduledDate propertyHistoricalDate
(DateTime)- HistoricalDate property
LocalTime
(DateTime)- LocalTime propertyUserTimestamp
(DateTime)- UserTimestamp propertyChain
(string)- Chain propertyConditionalMethod
(string)- ConditionalMethod property
BirthDate
(DateTime)- BirthDate propertyCompletedDate
(DateTime)- CompletedDate property
ReportDate
(DateTime)- ReportDate propertyYearEndDate
(DateTime)- YearEndDate property
WorkingHours
(DateTime)- WorkingHours propertyEveningEvent
(DateTime)- EveningEvent property
CheckInDate
(DateTime)- CheckInDate propertyTransactionDate
(DateTime)- TransactionDate property
CreatedAt
(DateTime)- CreatedAt propertyLogTimestamp
(DateTime)- LogTimestamp propertyChain
(string)- Chain propertyConditionalMethod
(string)- ConditionalMethod property
EventDate
(DateTime)- EventDate propertyHistoricalDate
(DateTime)- HistoricalDate propertyCollection validation attributes
10 attributes
Numbers
(int[])- Numbers propertyErrorMessage
(string)- ErrorMessage property
Names
(string[])- Names propertyErrorMessage
(string)- ErrorMessage property
Numbers
(int[])- Numbers propertyErrorMessage
(string)- ErrorMessage property
Categories
(string[])- Categories propertyErrorMessage
(string)- ErrorMessage property
Options
(string[])- Options propertyErrorMessage
(string)- ErrorMessage property
Tags
(string[])- Tags propertyErrorMessage
(string)- ErrorMessage property
NonZeroNumbers
(int[])- NonZeroNumbers propertyErrorMessage
(string)- ErrorMessage property
Numbers
(int[])- Numbers propertyErrorMessage
(string)- ErrorMessage property
Flags
(int[])- Flags propertyErrorMessage
(string)- ErrorMessage property
Tags
(string[])- Tags propertyErrorMessage
(string)- ErrorMessage propertyGeneral purpose validation attributes
6 attributes
UserType
(string)- UserType propertyMinimumAge
(int)- MinimumAge property
Id
(Guid)- Id propertyCount
(int)- Count property
Username
(string)- Username propertyScore
(int)- Score property
Name
(string)- Name property
Nickname
(string)- Nickname propertyNumeric validation attributes
18 attributes
Quantity
(int)- Quantity propertyErrorMessage
(string)- ErrorMessage property
PlayerNumber
(int)- PlayerNumber propertyBatchSize
(int)- BatchSize propertyErrorMessage
(string)- ErrorMessage property
SpecialNumber
(int)- SpecialNumber propertySequence
(long)- Sequence propertyErrorMessage
(string)- ErrorMessage property
Score
(int)- Score propertyTemperature
(double)- Temperature propertyErrorMessage
(string)- ErrorMessage property
Quantity
(int)- Quantity propertyMinimumAge
(double)- MinimumAge propertyErrorMessage
(string)- ErrorMessage property
Score
(int)- Score propertyTemperature
(double)- Temperature propertyErrorMessage
(string)- ErrorMessage property
Percentage
(int)- Percentage propertyMaxPrice
(double)- MaxPrice propertyErrorMessage
(string)- ErrorMessage property
Percentage
(int)- Percentage propertyErrorMessage
(string)- ErrorMessage property
Pin
(int)- Pin propertyErrorMessage
(string)- ErrorMessage property
Quantity
(int)- Quantity propertyMeasurement
(double)- Measurement propertyErrorMessage
(string)- ErrorMessage property
Deficit
(int)- Deficit propertyLoss
(double)- Loss propertyErrorMessage
(string)- ErrorMessage property
Divisor
(int)- Divisor propertyCoefficient
(double)- Coefficient propertyErrorMessage
(string)- ErrorMessage property
PlayerNumber
(int)- PlayerNumber propertyLuckyNumber
(int)- LuckyNumber propertyErrorMessage
(string)- ErrorMessage property
Quantity
(int)- Quantity propertyPrice
(double)- Price propertyErrorMessage
(string)- ErrorMessage property
BufferSize
(int)- BufferSize propertyMultiplier
(long)- Multiplier propertyErrorMessage
(string)- ErrorMessage property
SpecialNumber
(int)- SpecialNumber propertyKeyValue
(int)- KeyValue propertyErrorMessage
(string)- ErrorMessage property
Percentage
(int)- Percentage propertyAge
(int)- Age propertyProbability
(double)- Probability propertyErrorMessage
(string)- ErrorMessage propertyString validation attributes
31 attributes
FirstName
(string)- FirstName propertyLastName
(string)- LastName property
Username
(string)- Username propertyProductCode
(string)- ProductCode property
Code
(string)- Code propertySystemPath
(string)- SystemPath property
EncodedData
(string)- EncodedData propertyHexData
(string)- HexData property
BackgroundColor
(string)- BackgroundColor propertyBorderColor
(string)- BorderColor property
DisplayName
(string)- DisplayName propertyDescription
(string)- Description property
Email
(string)- Email propertyEndpointUrl
(string)- EndpointUrl propertyComparison
(StringComparison)- Comparison property
CardNumber
(string)- CardNumber propertyPaymentCard
(string)- PaymentCard property
Email
(string)- Email propertyContactEmail
(string)- ContactEmail property
Email
(string)- Email propertyDocumentPath
(string)- DocumentPath propertyComparison
(StringComparison)- Comparison property
ImagePath
(string)- ImagePath propertyDocumentPath
(string)- DocumentPath property
FirstName
(string)- FirstName propertyTitle
(string)- Title property
UserId
(string)- UserId propertySessionId
(string)- SessionId property
ColorCode
(string)- ColorCode propertyHashValue
(string)- HashValue property
BookCode
(string)- BookCode propertyProductISBN
(string)- ProductISBN property
ServerIp
(string)- ServerIp propertyClientAddress
(string)- ClientAddress property
Username
(string)- Username propertyEmailPrefix
(string)- EmailPrefix property
NetworkCard
(string)- NetworkCard propertyDeviceIdentifier
(string)- DeviceIdentifier property
PhoneNumber
(string)- PhoneNumber propertyProductCode
(string)- ProductCode property
ApiKey
(string)- ApiKey propertyIdentifier
(string)- Identifier property
Username
(string)- Username propertyProductionCode
(string)- ProductionCode propertyComparison
(StringComparison)- Comparison property
Name
(string)- Name propertyEmail
(string)- Email property
Username
(string)- Username propertySqlQuery
(string)- SqlQuery property
Amount
(string)- Amount propertyPercentage
(string)- Percentage propertyChain
(string)- Chain propertyConditionalMethod
(string)- ConditionalMethod propertyErrorCode
(string)- ErrorCode property
Status
(string)- Status propertySize
(string)- Size property
ContactNumber
(string)- ContactNumber propertyEmergencyContact
(string)- EmergencyContact property
WebsiteUrl
(string)- WebsiteUrl propertyTitle
(string)- Title propertyComparison
(StringComparison)- Comparison property
CountryCode
(string)- CountryCode propertyStatus
(string)- Status property
Homepage
(string)- Homepage propertyChain
(string)- Chain propertyConditionalMethod
(string)- ConditionalMethod propertyErrorCode
(string)- ErrorCode property
UserStatus
(string)- UserStatus propertyWorkDay
(string)- WorkDay propertyCheck out comprehensive examples and real-world usage scenarios