CompositionContext.GetExports 메서드

정의

오버로드

Name Description
GetExports(Type)

지정된 형식과 일치하는 모든 내보내기의 컬렉션을 검색합니다.

GetExports(Type, String)

지정된 계약 이름 및 형식과 일치하는 모든 내보내기를 검색합니다.

GetExports<TExport>()

지정된 제네릭 형식 매개 변수와 일치하는 모든 내보내기를 검색합니다.

GetExports<TExport>(String)

지정된 제네릭 형식 매개 변수 및 계약 이름과 일치하는 모든 내보내기를 검색합니다.

GetExports(Type)

Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs

지정된 형식과 일치하는 모든 내보내기의 컬렉션을 검색합니다.

public:
 System::Collections::Generic::IEnumerable<System::Object ^> ^ GetExports(Type ^ exportType);
public System.Collections.Generic.IEnumerable<object> GetExports(Type exportType);
member this.GetExports : Type -> seq<obj>
Public Function GetExports (exportType As Type) As IEnumerable(Of Object)

매개 변수

exportType
Type

일치시킬 형식입니다.

반품

내보낸 값의 컬렉션입니다.

예외

에 대한 exportType내보내기가 없습니다.

적용 대상

GetExports(Type, String)

Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs

지정된 계약 이름 및 형식과 일치하는 모든 내보내기를 검색합니다.

public:
 System::Collections::Generic::IEnumerable<System::Object ^> ^ GetExports(Type ^ exportType, System::String ^ contractName);
public System.Collections.Generic.IEnumerable<object> GetExports(Type exportType, string contractName);
member this.GetExports : Type * string -> seq<obj>
Public Function GetExports (exportType As Type, contractName As String) As IEnumerable(Of Object)

매개 변수

exportType
Type

일치시킬 형식입니다.

contractName
String

일치시킬 이름입니다.

반품

내보낸 값의 컬렉션입니다.

예외

에 대한 exportType내보내기가 없습니다.

적용 대상

GetExports<TExport>()

Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs

지정된 제네릭 형식 매개 변수와 일치하는 모든 내보내기를 검색합니다.

public:
generic <typename TExport>
 System::Collections::Generic::IEnumerable<TExport> ^ GetExports();
public System.Collections.Generic.IEnumerable<TExport> GetExports<TExport>();
member this.GetExports : unit -> seq<'Export>
Public Function GetExports(Of TExport) () As IEnumerable(Of TExport)

형식 매개 변수

TExport

일치시킬 형식입니다.

반품

IEnumerable<TExport>

내보낸 값의 컬렉션입니다.

예외

에 대한 TExport내보내기가 없습니다.

적용 대상

GetExports<TExport>(String)

Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs
Source:
CompositionContext.cs

지정된 제네릭 형식 매개 변수 및 계약 이름과 일치하는 모든 내보내기를 검색합니다.

public:
generic <typename TExport>
 System::Collections::Generic::IEnumerable<TExport> ^ GetExports(System::String ^ contractName);
public System.Collections.Generic.IEnumerable<TExport> GetExports<TExport>(string contractName);
member this.GetExports : string -> seq<'Export>
Public Function GetExports(Of TExport) (contractName As String) As IEnumerable(Of TExport)

형식 매개 변수

TExport

일치시킬 형식입니다.

매개 변수

contractName
String

일치시킬 이름입니다.

반품

IEnumerable<TExport>

내보낸 값의 컬렉션입니다.

예외

및 에 대한 TExportcontractName내보내기가 없습니다.

적용 대상