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 override IEnumerable<Tuple<ComposablePartDefinition, ExportDefinition>> GetExports(
	ImportDefinition definition
)

Parameters

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

Conditions that specify which exports to match.

Return Value

Type: System.Collections.Generic.IEnumerable<Tuple<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: