Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ExclusiveValidatorGroup Class

IValidator implementation that supports grouping of validators.

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

System.Object
   BaseValidator
      BaseValidatorGroup
         ExclusiveValidatorGroup

[Visual Basic]
Public Class ExclusiveValidatorGroup
    Inherits BaseValidatorGroup
[C#]
public class ExclusiveValidatorGroup : 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 and only one 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).

By default, this validator group uses FastValidate == true semantics.

Requirements

Namespace: Spring.Validation

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

See Also

ExclusiveValidatorGroup Members | Spring.Validation Namespace