DependencyAttribute Sınıf

Tanım

Belirtilen türün gerekli bir arabirimin somut bir uygulamasını sağladığını belirten bir özniteliği.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class DependencyAttribute : Attribute
type DependencyAttribute = class
    inherit Attribute
Devralma
DependencyAttribute
Öznitelikler

Oluşturucular

DependencyAttribute(Type)

Varsayılan değerlerle yeni bir oluşturur DependencyAttribute .

Şunlara uygulanır