Comprehensive guide to all validation attributes available in EasyValidate
Date and time validation attributes
21 attributesBirthDate(DateTime)- BirthDate propertyDateOfBirth(DateTime)- DateOfBirth propertyEventDate(DateTime)- EventDate propertyProjectDate(DateTime)- ProjectDate propertyPaymentDate(DateTime)- PaymentDate propertyMonthlyReport(DateTime)- MonthlyReport propertyWorkDay(DateTime)- WorkDay propertyWeekendEvent(DateTime)- WeekendEvent propertyEventDate(DateTime)- EventDate propertyExpiryDate(DateTime)- ExpiryDate propertySpecialDate(DateTime)- SpecialDate propertyEventDate(DateTime)- EventDate propertyEmployeeBirthDate(DateTime)- EmployeeBirthDate propertyParticipantBirthDate(DateTime)- ParticipantBirthDate propertyBirthDate(DateTime)- BirthDate propertyDateOfBirth(DateTime)- DateOfBirth propertyVacationDate(DateTime)- VacationDate propertyWinterEvent(DateTime)- WinterEvent propertyBirthDate(DateTime)- BirthDate propertyPurchaseDate(DateTime)- PurchaseDate propertyEventDate(DateTime)- EventDate propertyExpiryDate(DateTime)- ExpiryDate propertyStandardYear(DateTime)- StandardYear propertyEventDate(DateTime)- EventDate propertyScheduledDate(DateTime)- ScheduledDate propertyHistoricalDate(DateTime)- HistoricalDate propertyLocalTime(DateTime)- LocalTime propertyUserTimestamp(DateTime)- UserTimestamp propertyChain(string)- Chain propertyConditionalMethod(string)- ConditionalMethod propertyBirthDate(DateTime)- BirthDate propertyCompletedDate(DateTime)- CompletedDate propertyReportDate(DateTime)- ReportDate propertyYearEndDate(DateTime)- YearEndDate propertyWorkingHours(DateTime)- WorkingHours propertyEveningEvent(DateTime)- EveningEvent propertyCheckInDate(DateTime)- CheckInDate propertyTransactionDate(DateTime)- TransactionDate propertyCreatedAt(DateTime)- CreatedAt propertyLogTimestamp(DateTime)- LogTimestamp propertyChain(string)- Chain propertyConditionalMethod(string)- ConditionalMethod propertyEventDate(DateTime)- EventDate propertyHistoricalDate(DateTime)- HistoricalDate propertyCollection validation attributes
10 attributesNumbers(int[])- Numbers propertyErrorMessage(string)- ErrorMessage propertyNames(string[])- Names propertyErrorMessage(string)- ErrorMessage propertyNumbers(int[])- Numbers propertyErrorMessage(string)- ErrorMessage propertyCategories(string[])- Categories propertyErrorMessage(string)- ErrorMessage propertyOptions(string[])- Options propertyErrorMessage(string)- ErrorMessage propertyTags(string[])- Tags propertyErrorMessage(string)- ErrorMessage propertyNonZeroNumbers(int[])- NonZeroNumbers propertyErrorMessage(string)- ErrorMessage propertyNumbers(int[])- Numbers propertyErrorMessage(string)- ErrorMessage propertyFlags(int[])- Flags propertyErrorMessage(string)- ErrorMessage propertyTags(string[])- Tags propertyErrorMessage(string)- ErrorMessage propertyGeneral purpose validation attributes
6 attributesUserType(string)- UserType propertyMinimumAge(int)- MinimumAge propertyId(Guid)- Id propertyCount(int)- Count propertyUsername(string)- Username propertyScore(int)- Score propertyName(string)- Name propertyNickname(string)- Nickname propertyNumeric validation attributes
18 attributesQuantity(int)- Quantity propertyErrorMessage(string)- ErrorMessage propertyPlayerNumber(int)- PlayerNumber propertyBatchSize(int)- BatchSize propertyErrorMessage(string)- ErrorMessage propertySpecialNumber(int)- SpecialNumber propertySequence(long)- Sequence propertyErrorMessage(string)- ErrorMessage propertyScore(int)- Score propertyTemperature(double)- Temperature propertyErrorMessage(string)- ErrorMessage propertyQuantity(int)- Quantity propertyMinimumAge(double)- MinimumAge propertyErrorMessage(string)- ErrorMessage propertyScore(int)- Score propertyTemperature(double)- Temperature propertyErrorMessage(string)- ErrorMessage propertyPercentage(int)- Percentage propertyMaxPrice(double)- MaxPrice propertyErrorMessage(string)- ErrorMessage propertyPercentage(int)- Percentage propertyErrorMessage(string)- ErrorMessage propertyPin(int)- Pin propertyErrorMessage(string)- ErrorMessage propertyQuantity(int)- Quantity propertyMeasurement(double)- Measurement propertyErrorMessage(string)- ErrorMessage propertyDeficit(int)- Deficit propertyLoss(double)- Loss propertyErrorMessage(string)- ErrorMessage propertyDivisor(int)- Divisor propertyCoefficient(double)- Coefficient propertyErrorMessage(string)- ErrorMessage propertyPlayerNumber(int)- PlayerNumber propertyLuckyNumber(int)- LuckyNumber propertyErrorMessage(string)- ErrorMessage propertyQuantity(int)- Quantity propertyPrice(double)- Price propertyErrorMessage(string)- ErrorMessage propertyBufferSize(int)- BufferSize propertyMultiplier(long)- Multiplier propertyErrorMessage(string)- ErrorMessage propertySpecialNumber(int)- SpecialNumber propertyKeyValue(int)- KeyValue propertyErrorMessage(string)- ErrorMessage propertyPercentage(int)- Percentage propertyAge(int)- Age propertyProbability(double)- Probability propertyErrorMessage(string)- ErrorMessage propertyString validation attributes
31 attributesFirstName(string)- FirstName propertyLastName(string)- LastName propertyUsername(string)- Username propertyProductCode(string)- ProductCode propertyCode(string)- Code propertySystemPath(string)- SystemPath propertyEncodedData(string)- EncodedData propertyHexData(string)- HexData propertyBackgroundColor(string)- BackgroundColor propertyBorderColor(string)- BorderColor propertyDisplayName(string)- DisplayName propertyDescription(string)- Description propertyEmail(string)- Email propertyEndpointUrl(string)- EndpointUrl propertyComparison(StringComparison)- Comparison propertyCardNumber(string)- CardNumber propertyPaymentCard(string)- PaymentCard propertyEmail(string)- Email propertyContactEmail(string)- ContactEmail propertyEmail(string)- Email propertyDocumentPath(string)- DocumentPath propertyComparison(StringComparison)- Comparison propertyImagePath(string)- ImagePath propertyDocumentPath(string)- DocumentPath propertyFirstName(string)- FirstName propertyTitle(string)- Title propertyUserId(string)- UserId propertySessionId(string)- SessionId propertyColorCode(string)- ColorCode propertyHashValue(string)- HashValue propertyBookCode(string)- BookCode propertyProductISBN(string)- ProductISBN propertyServerIp(string)- ServerIp propertyClientAddress(string)- ClientAddress propertyUsername(string)- Username propertyEmailPrefix(string)- EmailPrefix propertyNetworkCard(string)- NetworkCard propertyDeviceIdentifier(string)- DeviceIdentifier propertyPhoneNumber(string)- PhoneNumber propertyProductCode(string)- ProductCode propertyApiKey(string)- ApiKey propertyIdentifier(string)- Identifier propertyUsername(string)- Username propertyProductionCode(string)- ProductionCode propertyComparison(StringComparison)- Comparison propertyName(string)- Name propertyEmail(string)- Email propertyUsername(string)- Username propertySqlQuery(string)- SqlQuery propertyAmount(string)- Amount propertyPercentage(string)- Percentage propertyChain(string)- Chain propertyConditionalMethod(string)- ConditionalMethod propertyErrorCode(string)- ErrorCode propertyStatus(string)- Status propertySize(string)- Size propertyContactNumber(string)- ContactNumber propertyEmergencyContact(string)- EmergencyContact propertyWebsiteUrl(string)- WebsiteUrl propertyTitle(string)- Title propertyComparison(StringComparison)- Comparison propertyCountryCode(string)- CountryCode propertyStatus(string)- Status propertyHomepage(string)- Homepage propertyChain(string)- Chain propertyConditionalMethod(string)- ConditionalMethod propertyErrorCode(string)- ErrorCode propertyUserStatus(string)- UserStatus propertyWorkDay(string)- WorkDay propertyCheck out comprehensive examples and real-world usage scenarios