Udostępnij za pośrednictwem


OrCompositeValidator 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(OrCompositeValidatorData))> _
PublicClassOrCompositeValidator _
    Inherits Validator
[ConfigurationElementTypeAttribute(typeof(OrCompositeValidatorData))]
publicclassOrCompositeValidator : Validator
[ConfigurationElementTypeAttribute(typeof(OrCompositeValidatorData))]
publicref classOrCompositeValidator : public Validator
publicclass OrCompositeValidator extends Validator

Remarks

Validation results are logged only if all composed validators log results.

Inheritance Hierarchy

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

See Also

OrCompositeValidator 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.