Share via


DependencyAttribute Class

Definition

An attribute that indicates that the specified type provides a concrete implementation of a needed interface.

public ref class DependencyAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class DependencyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type DependencyAttribute = class
    inherit Attribute
Public NotInheritable Class DependencyAttribute
Inherits Attribute
Inheritance
DependencyAttribute
Attributes

Constructors

DependencyAttribute(Type)

Creates a new DependencyAttribute with default values.

Applies to