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