StringValidationRule Class

Represents a rule for validating strings.
Inheritance Hierarchy

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.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 propertyMatchingPattern
Gets a regular expression to match the value against.
Public propertyMaxLength
Gets the maximum allowed length of the value.
Public propertyPatternDescription
Gets some text describing the validation pattern in friendly language.
Top
Methods
  NameDescription
Public methodValidate
Validates the specified value against the rule.
(Overrides AppSettingValidationRule.Validate(ValidationParameters).)
Top
See Also