Share via


MefModuleManager.ImportedModules Property

Gets or sets the modules to be imported.

Namespace:  Microsoft.Practices.Prism.MefExtensions.Modularity
Assembly:  Microsoft.Practices.Prism.MefExtensions (in Microsoft.Practices.Prism.MefExtensions.dll)

Syntax

[ImportManyAttribute(AllowRecomposition = true)]
public IEnumerable<Lazy<IModule, IModuleExport>> ImportedModules { get; set; }
'Declaration
<ImportManyAttribute(AllowRecomposition := True)> _
Public Property ImportedModules As IEnumerable(Of Lazy(Of IModule, IModuleExport))
    Get
    Set

Remarks

Import the available modules from the MEF container. Due to Silverlight/MEF restrictions this must be public.

See Also

MefModuleManager Class

Microsoft.Practices.Prism.MefExtensions.Modularity Namespace