Share via


ModuleManager Members

Include Protected Members
Include Inherited Members

The ModuleManager type exposes the following members.

Constructors

  Name Description
Public method ModuleManager
Initializes an instance of the ModuleManager class.

Methods

  Name Description
Public method Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean)
Disposes the associated IModuleTypeLoaders.
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.
Public method LoadModule
Loads and initializes the module on the ModuleCatalog with the name moduleName.
Protected method LoadModulesThatAreReadyForLoad
Loads the modules that are not intialized and have their dependencies loaded.
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.
Public method Run
Initializes the modules marked as WhenAvailable on the ModuleCatalog.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Protected property ModuleCatalog
The module catalog specified in the constructor.
Public property ModuleTypeLoaders
Returns the list of registered IModuleTypeLoader instances that will be used to load the types of modules.

Events

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

See Also

ModuleManager Class

Microsoft.Practices.Prism.Modularity Namespace