Class DateValueValidationRule
Provides validation rule for OnlinerDate type.
Inherited Members
Namespace: AXSharp.Connector.ValueValidation
Assembly: AXSharp.Connector.dll
Syntax
public class DateValueValidationRule : OnlinerValidationRule<DateOnly>
Constructors
| Edit this page View SourceDateValueValidationRule(OnlinerDate)
Initializes a new instance of the DateValueValidationRule class.
Declaration
public DateValueValidationRule(OnlinerDate onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerDate | onliner | Onliner type. |
Methods
| Edit this page View SourceValidate(DateOnly, CultureInfo)
Validates value of OnlinerDate
Declaration
public override ValidationResult Validate(DateOnly value, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
DateOnly | value | Value to validate. |
CultureInfo | culture | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |