StringValidationRule Class

Represents a rule for validating strings.
Inheritance Hierarchy
SystemObject
  Dundas.BI.ConfigurationAppSettingValidationRule
    Dundas.BI.ConfigurationStringValidationRule

Namespace: Dundas.BI.Configuration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public class StringValidationRule : AppSettingValidationRule

The StringValidationRule type exposes the following members.

Constructors
 NameDescription
Public methodStringValidationRule Initializes a new instance of the StringValidationRule class.
Public methodStringValidationRule(Int32) Initializes a new instance of the StringValidationRule class.
Public methodStringValidationRule(Int32, Regex, Boolean) Initializes a new instance of the StringValidationRule class.
Public methodStringValidationRule(Int32, Regex, Boolean, FuncString) Initializes a new instance of the StringValidationRule class.
Top
Properties
 NameDescription
Public propertyIsEmptyStringValid Gets a value indicating whether empty strings are valid.
Public propertyMatchingPatternGets a regular expression to match the value against.
Public propertyMaxLengthGets the maximum allowed length of the value.
Public propertyPatternDescription Gets some text describing the validation pattern in friendly language.
Top
Methods
 NameDescription
Public methodValidateValidates the specified value against the rule.
(Overrides AppSettingValidationRule.Validate(ValidationParameters))
Top
See Also