Class RealValueValidationRule
Provides validation rule for OnlinerReal type.
Inherited Members
Namespace: Vortex.Connector.ValueValidation
Assembly: Vortex.Connector.dll
Syntax
public class RealValueValidationRule : OnlinerValidationRule<float>
Constructors
RealValueValidationRule(OnlinerReal)
Initializes a new instance of the RealValueValidationRule class.
Declaration
public RealValueValidationRule(OnlinerReal onliner)
Parameters
Type | Name | Description |
---|---|---|
OnlinerReal | onliner | Onliner type. |
Methods
Validate(Single, CultureInfo)
Validates value of OnlinerReal
Declaration
public override ValidationResult Validate(float value, CultureInfo cultureInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | Value to validate. |
System.Globalization.CultureInfo | cultureInfo | Culture. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Overrides
Vortex.Connector.ValueValidation.OnlinerValidationRule<System.Single>.Validate(System.Single, System.Globalization.CultureInfo)