InjectAttribute 클래스

정의

초기화 중에 연결된 속성에 서비스 공급자에서 삽입된 값이 있어야 했음을 나타냅니다.

public ref class InjectAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class InjectAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type InjectAttribute = class
    inherit Attribute
Public NotInheritable Class InjectAttribute
Inherits Attribute
상속
InjectAttribute
특성

생성자

InjectAttribute()

초기화 중에 연결된 속성에 서비스 공급자에서 삽입된 값이 있어야 했음을 나타냅니다.

속성

Key

삽입할 서비스의 키를 지정하는 개체를 가져오거나 설정합니다.

적용 대상