Share via


MefModuleManager Members

Include Protected Members
Include Inherited Members

The MefModuleManager type exposes the following members.

Constructors

  Name Description
Public method MefModuleManager
Initializes a new instance of the MefModuleManager class.

Methods

  Name Description
Public method Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ModuleManager.)
Protected method Dispose(Boolean)
Disposes the associated IModuleTypeLoaders.
(Inherited from ModuleManager.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method HandleModuleTypeLoadingError
Handles any exception ocurred in the module typeloading process, logs the error using the and throws a . This method can be overriden to provide a different behavior.
(Inherited from ModuleManager.)
Public method LoadModule
Loads and initializes the module on the ModuleCatalog with the name moduleName.
(Inherited from ModuleManager.)
Protected method LoadModulesThatAreReadyForLoad
Loads the modules that are not intialized and have their dependencies loaded.
(Inherited from ModuleManager.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method ModuleNeedsRetrieval
Checks if the module needs to be retrieved before it's initialized.
(Overrides ModuleManager.ModuleNeedsRetrieval(ModuleInfo).)
Public method OnImportsSatisfied
Called when a part's imports have been satisfied and it is safe to use.
Public method Run
Initializes the modules marked as WhenAvailable on the ModuleCatalog.
(Inherited from ModuleManager.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property ImportedModules
Gets or sets the modules to be imported.
Public property MefXapModuleTypeLoader
Get or sets the imported XAP module type loader
Protected property ModuleCatalog
The module catalog specified in the constructor.
(Inherited from ModuleManager.)
Public property ModuleTypeLoaders
Returns the list of registered IModuleTypeLoader instances that will be used to load the types of modules.
(Overrides ModuleManager.ModuleTypeLoaders.)

Events

  Name Description
Public event LoadModuleCompleted
Raised when a module is loaded or fails to load.
(Inherited from ModuleManager.)
Public event ModuleDownloadProgressChanged
Raised repeatedly to provide progress as modules are loaded in the background.
(Inherited from ModuleManager.)

See Also

MefModuleManager Class

Microsoft.Practices.Prism.MefExtensions.Modularity Namespace