다음을 통해 공유


DependencyAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class DependencyAttribute : Attribute
type DependencyAttribute = class
    inherit Attribute
Inheritance
System.Attribute
DependencyAttribute
Attributes
System.AttributeUsageAttribute

Constructors

DependencyAttribute(Type)

Creates a new DependencyAttribute with default values.

Applies to