IComponentModel 인터페이스

정의

인터페이스는 Visual Studio의 기본 MEF 컴퍼지션 컨테이너 및 카탈로그에 액세스 하는 기능을 제공 합니다.

public interface class IComponentModel
public interface class IComponentModel
__interface IComponentModel
public interface IComponentModel
type IComponentModel = interface
Public Interface IComponentModel
파생

속성

DefaultCatalog
사용되지 않습니다.

기본 Visual Studio 카탈로그를 가져옵니다.

DefaultCompositionService

개체를 컨테이너에 포함 하지 않고 만족할 수 있도록 하는 Visual Studio 기본 컴퍼지션 컨테이너의 컴퍼지션 서비스를 가져옵니다.

DefaultExportProvider

Visual Studio의 기본 컴퍼지션 컨테이너의 내보내기 공급자를 가져옵니다.

메서드

GetCatalog(String)

이름으로 MEF 카탈로그에 대 한 액세스를 제공 합니다.

GetExtensions<T>()

기본 컴퍼지션 컨테이너에서 "extensions"의 열거형을 가져옵니다. 즉, 지정 된 컴퍼지션 컨테이너에 여러 개의 인스턴스가 있을 수 있습니다. 직접 호출 하는 것과 같습니다 GetExportedValues<T>() .

GetService<T>()

기본 컴퍼지션 컨테이너에서 "서비스"를 가져옵니다. 즉, 지정 된 컴퍼지션 컨테이너에 단일 인스턴스만 있을 수 있는 개체입니다. 직접 호출 하는 것과 같습니다 GetExportedValue<T>() .

적용 대상