Class LDateTimeValueValidationRule
Provides validation rule for OnlinerDateTime type.
Inherited Members
Namespace: AXSharp.Connector.ValueValidation
Assembly: AXSharp.Connector.dll
Syntax
public class LDateTimeValueValidationRule : OnlinerValidationRule<DateTime>
Constructors
| Edit this page View SourceLDateTimeValueValidationRule(OnlinerLDateTime)
Initializes a new instance of the DateTimeValueValidationRule class.
Declaration
public LDateTimeValueValidationRule(OnlinerLDateTime onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerLDateTime | 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. |