Class UIntValueValidationRule
Provides validation rule for OnlinerUInt type.
Inherited Members
Namespace: Vortex.Connector.ValueValidation
Assembly: Vortex.Connector.dll
Syntax
public class UIntValueValidationRule : OnlinerValidationRule<ushort>
Constructors
UIntValueValidationRule(OnlinerUInt)
Initializes a new instance of the UIntValueValidationRule class.
Declaration
public UIntValueValidationRule(OnlinerUInt onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerUInt | onliner | Onliner type. |
Methods
Validate(UInt16, CultureInfo)
Validates value of OnlinerUInt
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)