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