Share via


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

The latest Enterprise Library information can be found at the Enterprise Library site.

An attribute used when injecting dependencies that are Validator<T> that allows you to specify the ruleset and an optional ValidationSpecificationSource.

Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Unity
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight.dll) Version: 5.0.505.0

Syntax

public sealed class ValidatorDependencyAttribute : DependencyResolutionAttribute
'Declaration
Public NotInheritable Class ValidatorDependencyAttribute _
    Inherits DependencyResolutionAttribute
public ref class ValidatorDependencyAttribute sealed : public DependencyResolutionAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.Unity.DependencyResolutionAttribute
      Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Unity.ValidatorDependencyAttribute

See Also

ValidatorDependencyAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Unity Namespace