Class RegExValidator
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a regular expression validator.
- Inheritance
-
Reg
ExValidator
- Inherited Members
Constructors
RegExValidator()
Initializes a new instance of an object.
RegExValidator(string)
Initializes a new instance of an object.
Parameters
expression
stringValidation expression.
Properties
Expression
Gets or sets the unescaped validation expression.
Property Value
Methods
Validate(ValidatorContext)
Performs validation and returns value indicating whether validation was successful.
Parameters
context
ValidatorContext Validation context.
Returns
- bool
Value indicating whether validation was successful.