Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RequiredValidator Constructor

Creates a new instance of the RequiredValidator class.

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

Parameters

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

See Also

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