Partilhar via


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

Namespace:  Microsoft.Practices.ObjectBuilder
Assembly:  Microsoft.Practices.ObjectBuilder (in Microsoft.Practices.ObjectBuilder.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Parameter, AllowMultiple := False,  _
    Inherited := True)> _
PublicNotInheritableClassDependencyAttribute _
    Inherits ParameterAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false, 
    Inherited = true)]
publicsealedclassDependencyAttribute : ParameterAttribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Parameter, AllowMultiple = false, 
    Inherited = true)]
publicref classDependencyAttributesealed : public ParameterAttribute
publicfinalclass DependencyAttribute extends ParameterAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.ObjectBuilder.ParameterAttribute
      Microsoft.Practices.ObjectBuilder.DependencyAttribute

See Also

DependencyAttribute Members

Microsoft.Practices.ObjectBuilder 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.