AggregateExportProvider.GetExportsCore 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 가져오기의 조건과 일치하는 모든 내보내기를 가져옵니다.
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
컴퍼지션에 대한 트랜잭션 컨테이너입니다.
반품
지정된 조건과 일치하는 모든 내보내기를 포함하는 컬렉션입니다.
설명
구현자는 카디널리티 관련 불일치를 오류로 처리해서는 안 되며 이러한 경우 예외를 throw하지 않을 것으로 예상됩니다.
예를 들어 가져오기에서 정확히 하나의 내보내기를 요청하고 공급자에 일치하는 내보내기 또는 둘 이상의 내보내기가 없는 경우 메서드는 빈 IEnumerable<T> 컬렉션을 Export반환해야 합니다.