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