Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RegularExpressionValidator Constructor

Creates a new instance of the RegularExpressionValidator class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal test As IExpression, _
   ByVal when As IExpression, _
   ByVal expression As String _
)
[C#]
RegularExpressionValidator(
   IExpression test,
   IExpression when,
   string expression
);

Parameters

test
The expression to validate.
when
The expression that determines if this validator should be evaluated.
expression
The regular expression to match against.

See Also

RegularExpressionValidator Class | Spring.Validation Namespace | RegularExpressionValidator Constructor Overload List