Namespace Sartorius.SAF.Presentation.Modularity
Classes
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.
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.
LoadModuleCompletedEventArgs
Provides completion information after a module is loaded, or fails to load.
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:
The ModuleCatalog also serves as a baseclass for more specialized Catalogs .
ModuleDependencyAttribute
Specifies that the current module has a dependency on another module. This attribute should be used on classes that implement IModule.
ModuleDependencySolver
Used by ModuleInitializer to get the load sequence for the modules to load according to their dependencies.
ModuleDownloadProgressChangedEventArgs
Provides progress information as a module downloads.
ModuleExportAttribute
Definition of attribute to export IModule via MEF.
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.
ModuleLocator
Locates modules of type IModule.
ModuleManager
Component responsible for coordinating the modules' type loading and module initialization process.
ModuleNotFoundException
Exception thrown when a requested OnDemand IModule was not found.
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
IAssemblyResolver
Interface for classes that are responsible for resolving and loading assembly files.
IModule
Definition of a module.
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.
IModuleExport
Describe the Managed Extensibility Framework export of an IModule.
IModuleInitializer
Declares a service which initializes the modules into the application.
IModuleLocator
Defines a locator to locate modules of type IModule within the composition container.
IModuleManager
Defines the interface for the service that will retrieve and initialize the application's modules.
IModuleTypeLoader
Defines the interface for moduleTypeLoaders
Enums
InitializationMode
Specifies on which stage the Module group will be initialized.
ModuleProperties
Flags defining properties for a IModule
ModuleState
Defines the states a ModuleInfo can be in, with regards to the module loading and initialization process.