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