Compartilhar via


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

Indicates the target type defines self validation methods.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False)> _
PublicNotInheritableClassHasSelfValidationAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false)]
publicsealedclassHasSelfValidationAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false)]
publicref classHasSelfValidationAttributesealed : public Attribute
publicfinalclass HasSelfValidationAttribute extends Attribute

Remarks

Types without this attribute will not be scanned for self validation methods.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.HasSelfValidationAttribute

See Also

HasSelfValidationAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Microsoft.Practices.EnterpriseLibrary.Validation.Validators.SelfValidationAttribute

Microsoft.Practices.EnterpriseLibrary.Validation.Validators.SelfValidationValidator

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.