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