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