ImportSource Enumeration

.NET Framework 4.6 and 4.5

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
AnyImports may be satisfied from the current scope or any ancestor scope.
LocalImports may be satisfied only from the current scope.
NonLocalImports may be satisfied only from an ancestor scope.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft