ComposablePartDefinition.ImportDefinitions Property

 

Gets a collection of ImportDefinition objects that describe the imports required by the part defined by this ComposablePartDefinition object.

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

public abstract IEnumerable<ImportDefinition> ImportDefinitions { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<ImportDefinition>

A collection of ImportDefinition objects that describe the imports required by ComposablePart objects created by the ComposablePartDefinition.

Overrides of this property should never return null. If the ComposablePart objects created by the ComposablePartDefinition do not have imports, return an empty IEnumerable<T> collection instead.

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