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