CatalogExportProvider.GetExportsCore 메서드

정의

지정된 가져오기의 조건과 일치하는 내보내기를 모두 반환합니다.

protected:
 override System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::Export ^> ^ GetExportsCore(System::ComponentModel::Composition::Primitives::ImportDefinition ^ definition, System::ComponentModel::Composition::Hosting::AtomicComposition ^ atomicComposition);
protected override System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.Export> GetExportsCore (System.ComponentModel.Composition.Primitives.ImportDefinition definition, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition);
protected override System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.Export> GetExportsCore (System.ComponentModel.Composition.Primitives.ImportDefinition definition, System.ComponentModel.Composition.Hosting.AtomicComposition? atomicComposition);
override this.GetExportsCore : System.ComponentModel.Composition.Primitives.ImportDefinition * System.ComponentModel.Composition.Hosting.AtomicComposition -> seq<System.ComponentModel.Composition.Primitives.Export>
Protected Overrides Function GetExportsCore (definition As ImportDefinition, atomicComposition As AtomicComposition) As IEnumerable(Of Export)

매개 변수

definition
ImportDefinition

반환할 Export 개체의 조건입니다.

atomicComposition
AtomicComposition

사용할 컴퍼지션 트랜잭션이거나, 트랜잭션 컴퍼지션을 사용하지 않도록 설정하려면 null입니다.

반환

지정된 조건과 일치하는 내보내기가 모두 포함되는 컬렉션입니다.

설명

구현자는 카디널리티 관련 불일치를 오류로 처리 해야 하 고 카디널리티 관련 불일치에 대 한 예외를 throw 하지 않아야 합니다. 예를 들어 가져오기가 정확히 하나의 내보내기만 요청 하 고 공급자가 일치 하는 내보내기가 없습니다 둘 이상 합니다 GetExportsCore 메서드는 빈 반환 해야 IEnumerable<T> 컬렉션 Export 개체입니다.

적용 대상