Class RegularExpressionDefinition
- Namespace
- Dynamicweb.CoreUI.Data.Validation
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class RegularExpressionDefinition : ValidationDefinition
- Inheritance
-
RegularExpressionDefinition
- Inherited Members
-
Constructors
RegularExpressionDefinition(string)
public RegularExpressionDefinition(string pattern)
Parameters
pattern
string
RegularExpressionDefinition(string, string?)
public RegularExpressionDefinition(string pattern, string? errorMessage)
Parameters
pattern
string
errorMessage
string
Properties
Pattern
public string Pattern { get; }
Property Value
- string
Methods
Render(EditorBase)
public override void Render(EditorBase editor)
Parameters
editor
EditorBase
Validate(object?)
public override bool Validate(object? value)
Parameters
value
object
Returns
- bool