Microsoft.Practices.Prism.Modularity Namespace

Classes

  Class Description
Public class CyclicDependencyFoundException
Represents the exception that is thrown when there is a circular dependency between modules during the module loading process.
Public class DownloadCompletedEventArgs
Provides data for the DownloadCompleted event.
Public class DuplicateModuleException
Exception thrown when a module is declared twice in the same catalog.
Public class FileDownloader
Defines the component used to download files.
Public class LoadModuleCompletedEventArgs
Provides completion information after a module is loaded, or fails to load.
Public class ModularityException
Base class for exceptions that are thrown because of a problem with modules.
Public class ModuleCatalog
The ModuleCatalog holds information about the modules that can be used by the application. Each module is described in a ModuleInfo class, that records the name, type and location of the module. It also verifies that the ModuleCatalog is internally valid. That means that it does not have: Circular dependenciesMissing dependencies Invalid dependencies, such as a Module that's loaded at startup that depends on a module that might need to be retrieved. The ModuleCatalog also serves as a baseclass for more specialized Catalogs .
Public class ModuleDependencySolver
Used by ModuleInitializer to get the load sequence for the modules to load according to their dependencies.
Public class ModuleDownloadProgressChangedEventArgs
Provides progress information as a module downloads.
Public class ModuleInfo
Defines the metadata that describes a module.
Public class ModuleInfoGroup
Represents a group of ModuleInfo instances that are usually deployed together. ModuleInfoGroups are also used by the ModuleCatalog to prevent common deployment problems such as having a module that's required at startup that depends on modules that will only be downloaded on demand. The group also forwards Ref and InitializationMode values to the ModuleInfos that it contains.
Public class ModuleInfoGroupExtensions
Defines extension methods for the ModuleInfoGroup class.
Public class ModuleInitializeException
Exception thrown by IModuleInitializer implementations whenever a module fails to load.
Public class ModuleInitializer
Implements the IModuleInitializer interface. Handles loading of a module based on a type.
Public class ModuleManager
Component responsible for coordinating the modules' type loading and module initialization process.
Public class ModuleNotFoundException
Exception thrown when a requested OnDemandIModule was not found.
Public class ModuleTypeLoaderNotFoundException
Exception that's thrown when there is no IModuleTypeLoader registered in ModuleTypeLoaders that can handle this particular type of module.
Public class ModuleTypeLoadingException
Exception thrown by IModuleManager implementations whenever a module fails to retrieve.
Public class XapModuleTypeLoader
Component responsible for downloading remote modules and load their Type into the current application domain.

Interfaces

  Interface Description
Public interface IFileDownloader
Defines a contract for the object used to download files asynchronously.
Public interface IModule
Defines the contract for the modules deployed in the application.
Public interface IModuleCatalog
This is the expected catalog definition for the ModuleManager. The ModuleCatalog holds information about the modules that can be used by the application. Each module is described in a ModuleInfo class, that records the name, type and location of the module.
Public interface IModuleCatalogItem
Marker interface that allows both ModuleInfoGroups and ModuleInfos to be added to the IModuleCatalog from code and XAML.
Public interface IModuleInitializer
Declares a service which initializes the modules into the application.
Public interface IModuleManager
Defines the interface for the service that will retrieve and initialize the application's modules.
Public interface IModuleTypeLoader
Defines the interface for moduleTypeLoaders

Enumerations

  Enumeration Description
Public enumeration InitializationMode
Specifies on which stage the Module group will be initialized.
Public enumeration ModuleState
Defines the states a ModuleInfo can be in, with regards to the module loading and initialization process.