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