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