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