Class StringValueValidationRule
Provides validation rule for OnlinerString 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 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)