AssemblyCatalog.GetExports(ImportDefinition) 메서드

정의

가져오기 정의에 지정된 조건과 일치하는 내보내기 컬렉션을 가져옵니다.

public:
 override System::Collections::Generic::IEnumerable<Tuple<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^, System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^> ^ GetExports(System::ComponentModel::Composition::Primitives::ImportDefinition ^ definition);
public override System.Collections.Generic.IEnumerable<Tuple<System.ComponentModel.Composition.Primitives.ComposablePartDefinition,System.ComponentModel.Composition.Primitives.ExportDefinition>> GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition definition);
override this.GetExports : System.ComponentModel.Composition.Primitives.ImportDefinition -> seq<System.ComponentModel.Composition.Primitives.ComposablePartDefinition * System.ComponentModel.Composition.Primitives.ExportDefinition>
Public Overrides Function GetExports (definition As ImportDefinition) As IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))

매개 변수

definition
ImportDefinition

일치시킬 내보내기를 지정하는 조건입니다.

반품

에 지정된 definition조건과 일치하는 내보내기 컬렉션입니다.

예외

definitionnull입니다.

설명

상속자에 대한 참고 사항

이 속성의 재정의자는 정의definition한 조건과 일치하지 않는 ExportDefinition 경우 반환 null 하지 않아야 합니다. 대신 빈 IEnumerable<T>값을 반환합니다.

적용 대상