Class DateValueValidationRule
Provides validation rule for OnlinerDate 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 DateValueValidationRule : OnlinerValidationRule<DateTime>
Constructors
DateValueValidationRule(OnlinerDate)
Initializes a new instance of the DateValueValidationRule class.
Declaration
public DateValueValidationRule(OnlinerDate onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerDate | onliner | Onliner type. |
Methods
Validate(DateTime, CultureInfo)
Validates value of OnlinerDate
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)