Partager via


DependencyResolutionAttribute 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 Unity Application Block information can be found at the Unity Application Block site.

Base class for attributes that can be placed on parameters or properties to specify how to resolve the value for that parameter or property.

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

Syntax

'Declaration
Public MustInherit Class DependencyResolutionAttribute _
    Inherits Attribute
public abstract class DependencyResolutionAttribute : Attribute
public ref class DependencyResolutionAttribute abstract : public Attribute
public abstract class DependencyResolutionAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.Unity.DependencyResolutionAttribute
      Microsoft.Practices.Unity.DependencyAttribute

See Also

DependencyResolutionAttribute Members

Microsoft.Practices.Unity Namespace