Class IntValueValidationRule
Provides validation rule for OnlinerInt 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 IntValueValidationRule : OnlinerValidationRule<short>
Constructors
IntValueValidationRule(OnlinerInt)
Initializes a new instance of the IntValueValidationRule class.
Declaration
public IntValueValidationRule(OnlinerInt onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerInt | onliner | Onliner type. |
Methods
Validate(Int16, CultureInfo)
Validates value of OnlinerInt
Declaration
public override ValidationResult Validate(short value, CultureInfo cultureInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | value | Value to validate. |
System.Globalization.CultureInfo | cultureInfo | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Overrides
Vortex.Connector.ValueValidation.OnlinerValidationRule<System.Int16>.Validate(System.Int16, System.Globalization.CultureInfo)