Class ByteValueValidationRule
Provides validation rule for OnlinerByte type.
Inherited Members
Namespace: AXSharp.Connector.ValueValidation
Assembly: AXSharp.Connector.dll
Syntax
public class ByteValueValidationRule : OnlinerValidationRule<byte>
Constructors
| Edit this page View SourceByteValueValidationRule(OnlinerByte)
Initializes a new instance of the ByteValueValidationRule class.
Declaration
public ByteValueValidationRule(OnlinerByte onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerByte | onliner | Onliner type. |
Methods
| Edit this page View SourceValidate(byte, CultureInfo)
Validates value of OnlinerByte
Declaration
public override ValidationResult Validate(byte value, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
byte | value | Value to validate. |
CultureInfo | culture | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |