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