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