ImportSource Enumeration

.NET Framework (current version)
 
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.

Specifies values that indicate how the MEF composition engine searches for imports.

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

public enum ImportSource

Member nameDescription
Any

Imports may be satisfied from the current scope or any ancestor scope.

Local

Imports may be satisfied only from the current scope.

NonLocal

Imports may be satisfied only from an ancestor scope.

.NET Framework
Available since 4.5
Return to top
Show: