Share via


AndCompositeValidator Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Aggregates a set of Validator instances, performing validation by allowing each validator to perform its own.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(AndCompositeValidatorData))> _
PublicClassAndCompositeValidator _
    Inherits Validator
[ConfigurationElementTypeAttribute(typeof(AndCompositeValidatorData))]
publicclassAndCompositeValidator : Validator
[ConfigurationElementTypeAttribute(typeof(AndCompositeValidatorData))]
publicref classAndCompositeValidator : public Validator
publicclass AndCompositeValidator extends Validator

Remarks

Validation fails if any of the composed validators fails.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.AndCompositeValidator

See Also

AndCompositeValidator Members

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.