Class LTimeValueValidationRule
Provides validation rule for OnlinerLTime type.
Inherited Members
Namespace: Vortex.Connector.ValueValidation
Assembly: Vortex.Connector.dll
Syntax
public class LTimeValueValidationRule : OnlinerValidationRule<TimeSpan>
Constructors
LTimeValueValidationRule(OnlinerLTime)
Initializes a new instance of the LTimeValueValidationRule class.
Declaration
public LTimeValueValidationRule(OnlinerLTime onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerLTime | onliner | Onliner type. |
Methods
Validate(TimeSpan, CultureInfo)
Validates value of OnlinerLTime
Declaration
public override ValidationResult Validate(TimeSpan value, CultureInfo cultureInfo)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | value | Value to validate. |
System.Globalization.CultureInfo | cultureInfo | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Overrides
Vortex.Connector.ValueValidation.OnlinerValidationRule<System.TimeSpan>.Validate(System.TimeSpan, System.Globalization.CultureInfo)