Class BoolValueValidationRule
Provides validation rule for OnlinerBool 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 BoolValueValidationRule : OnlinerValidationRule<bool>
Constructors
BoolValueValidationRule(OnlinerBool)
Initializes a new instance of the BoolValueValidationRule class.
Declaration
public BoolValueValidationRule(OnlinerBool onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerBool | onliner | Onliner type. |
Methods
Validate(Boolean, CultureInfo)
Validates value of OnlinerBool
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)