AssemblyCatalog.GetExports Method (ImportDefinition)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

override GetExports : 
        definition:ImportDefinition -> IEnumerable<Tuple<ComposablePartDefinition, ExportDefinition>>

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: