AcceptEmptyServiceProviderAttribute 클래스

정의

XAML 구문 분석기 및 컴파일러에서 특성이 주어진 클래스의 메서드 및 생성자에서 제공된 서비스 공급자를 무시할 수 있음을 알립니다.

[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public sealed class AcceptEmptyServiceProviderAttribute : Attribute
type AcceptEmptyServiceProviderAttribute = class
    inherit Attribute
상속
System.Attribute
AcceptEmptyServiceProviderAttribute
특성
System.AttributeUsageAttribute

설명

개발자는 이 특성이 제공된 서비스 공급자 대신 파서가 전달 null 되지 않도록 보장하지 않는다는 점에 유의해야 합니다. 그것은 단지 그들이 그렇게 할 수 있습니다 허용합니다.

생성자

AcceptEmptyServiceProviderAttribute()

기본값을 사용하여 새 AcceptEmptyServiceProviderAttribute을 만듭니다.

적용 대상