Class DateTimeValueValidationRule
Provides validation rule for OnlinerDateTime type.
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 DateTimeValueValidationRule class.
Declaration
public DateTimeValueValidationRule(OnlinerDateTime onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerDateTime | onliner | Onliner type. |
Methods
Validate(DateTime, CultureInfo)
Validates value of OnlinerDateTime
Declaration
public override ValidationResult Validate(DateTime value, CultureInfo cultureInfo)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | Value to validate. |
System.Globalization.CultureInfo | cultureInfo | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Overrides
Vortex.Connector.ValueValidation.OnlinerValidationRule<System.DateTime>.Validate(System.DateTime, System.Globalization.CultureInfo)