Class TimeValueValidationRule
Provides validation rule for OnlinerTime type.
Inherited Members
Namespace: AXSharp.Connector.ValueValidation
Assembly: AXSharp.Connector.dll
Syntax
public class TimeValueValidationRule : OnlinerValidationRule<TimeSpan>
Constructors
| Edit this page View SourceTimeValueValidationRule(OnlinerTime)
Initializes a new instance of the TimeValueValidationRule class.
Declaration
public TimeValueValidationRule(OnlinerTime onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerTime | onliner | Onliner type. |
Methods
| Edit this page View SourceValidate(TimeSpan, CultureInfo)
Validates value of OnlinerTime
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. |