AssemblyCatalog.GetExports Method (ImportDefinition)

 

Gets a collection of exports that match the conditions specified by the import definition.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Public Overrides Function GetExports (
	definition As ImportDefinition
) As IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))

Parameters

definition
Type: System.ComponentModel.Composition.Primitives.ImportDefinition

Conditions that specify which exports to match.

Return Value

Type: System.Collections.Generic.IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))

A collection of exports that match the conditions specified by definition.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: