다음을 통해 공유


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으로 지정된 조건과 일치하는 내보내기의 컬렉션입니다.

예외

definition이(가) null인 경우

설명

상속자에 대한 참고 사항

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

적용 대상