Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionValidator Constructor

Initializes a new instance of the CollectionValidator class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal when As String, _
   ByVal validateAll As Boolean, _
   ByVal includeElementErrors As Boolean _
)
[C#]
CollectionValidator(
   string when,
   bool validateAll,
   bool includeElementErrors
);

Parameters

when
The expression that determines if this validator should be evaluated.
validateAll
The bool that determines if this all elements of the collection should be evaluated. regardless of the Errors
includeElementErrors
The bool that determines whether Validate method should collect all error messages returned by the item validators

See Also

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