Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AnyValidatorGroup Class

IValidator implementation that supports grouping of validators.

For a list of all members of this type, see AnyValidatorGroup Members .

System.Object
   BaseValidator
      BaseValidatorGroup
         AnyValidatorGroup

[Visual Basic]
Public Class AnyValidatorGroup
    Inherits BaseValidatorGroup
[C#]
public class AnyValidatorGroup : BaseValidatorGroup

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This validator will be valid when one or more of the validators in the Validators collection are valid.

ValidationErrors property will return a union of all validation error messages for the contained validators, but only if this validator is not valid (meaning, when none of the contained validators are valid).

Note, that FastValidate defaults to true for this validator type!

Requirements

Namespace: Spring.Validation

Assembly: Spring.Core (in Spring.Core.dll)

See Also

AnyValidatorGroup Members | Spring.Validation Namespace