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 validateAll As Boolean, _
   ByVal includeElementErrors As Boolean _
)
[C#]
CollectionValidator(
   bool validateAll,
   bool includeElementErrors
);

Parameters

validateAll
The bool that determines if 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