Microsoft.Practices.Composite.Modularity Namespace
Classes
Class | Description | |
---|---|---|
AssemblyResolver |
Handles AppDomain's AssemblyResolve event to be able to load assemblies dynamically in the LoadFrom context, but be able to reference the type from assemblies loaded in the Load context.
|
|
ConfigurationModuleCatalog |
A catalog built from a configuration file.
|
|
ConfigurationStore |
Defines a store for the module metadata.
|
|
CyclicDependencyFoundException |
Represents the exception that is thrown when there is a circular dependency between modules during the module loading process.
|
|
DirectoryModuleCatalog |
Represets a catalog created from a directory on disk.
|
|
DuplicateModuleException |
Exception thrown when a module is declared twice in the same catalog.
|
|
FileModuleTypeLoader |
Loads modules from an arbitrary location on the filesystem. This typeloader is only called if ModuleInfo classes have a Ref parameter that starts with "file://". This class is only used on the Desktop version of the Composite Application Library.
|
|
ModularityException |
Base class for exceptions that are thrown because of a problem with modules.
|
|
ModuleAttribute |
Indicates that the class should be considered a named module using the provided module name.
|
|
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 dependencies Missing 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 .
|
|
ModuleConfigurationElement |
A configuration element to declare module metadata.
|
|
ModuleConfigurationElementCollection |
A collection of ModuleConfigurationElement.
|
|
ModuleDependencyAttribute |
Specifies that the current module has a dependency on another module. This attribute should be used on classes that implement IModule.
|
|
ModuleDependencyCollection |
A collection of ModuleDependencyConfigurationElement.
|
|
ModuleDependencyConfigurationElement |
A ConfigurationElement for module dependencies.
|
|
ModuleDependencySolver |
Used by ModuleInitializer to get the load sequence for the modules to load according to their dependencies.
|
|
ModuleInfo |
Defines the metadata that describes a module.
|
|
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.
|
|
ModuleInfoGroupExtensions |
Defines extension methods for the ModuleInfoGroup class.
|
|
ModuleInitializeException |
Exception thrown by IModuleInitializer implementations whenever a module fails to load.
|
|
ModuleInitializer |
Implements the IModuleInitializer interface. Handles loading of a module based on a type.
|
|
ModuleManager |
Component responsible for coordinating the modules' type loading and module initialization process.
|
|
ModuleNotFoundException | ||
ModulesConfigurationSection |
A ConfigurationSection for module configuration.
|
|
ModuleTypeLoaderNotFoundException |
Exception that's thrown when there is no IModuleTypeLoader registered in ModuleTypeLoaders that can handle this particular type of module.
|
|
ModuleTypeLoadingException |
Exception thrown by IModuleManager implementations whenever a module fails to retrieve.
|
Interfaces
Interface | Description | |
---|---|---|
IAssemblyResolver |
Interface for classes that are responsible for resolving and loading assembly files.
|
|
IConfigurationStore |
Defines a store for the module metadata.
|
|
IModule |
Defines the contract for the modules deployed in the application.
|
|
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.
|
|
IModuleCatalogItem |
Marker interface that allows both ModuleInfoGroups and ModuleInfos to be added to the IModuleCatalog from code and XAML.
|
|
IModuleInitializer |
Declares a service which initializes the modules into the application.
|
|
IModuleManager |
Defines the interface for the service that will retrieve and initialize the application's modules.
|
|
IModuleTypeLoader |
Defines the interface for moduleTypeLoaders
|
Delegates
Delegate | Description | |
---|---|---|
ModuleTypeLoadedCallback |
Callback to be called when module's type is loaded.
|
Enumerations
Enumeration | Description | |
---|---|---|
InitializationMode |
Specifies on which stage the Module group will be initialized.
|
|
ModuleState |
Defines the states a ModuleInfo can be in, with regards to the module loading and initialization process.
|