Interface IModuleManager
Defines the interface for the service that will retrieve and initialize the application's modules.
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IModuleManager
Methods
View SourceLoadModule(String)
Loads and initializes the module on the ModuleCatalog with the name moduleName
.
Declaration
void LoadModule(string moduleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleName | Name of the module requested for initialization. |
Run()
Initializes the modules marked as WhenAvailable on the ModuleCatalog.
Declaration
void Run()
Events
View SourceLoadModuleCompleted
Raised when a module is loaded or fails to load.
Declaration
event EventHandler<LoadModuleCompletedEventArgs> LoadModuleCompleted
Event Type
Type | Description |
---|---|
System.EventHandler<LoadModuleCompletedEventArgs> |
ModuleDownloadProgressChanged
Raised repeatedly to provide progress as modules are downloaded.
Declaration
event EventHandler<ModuleDownloadProgressChangedEventArgs> ModuleDownloadProgressChanged
Event Type
Type | Description |
---|---|
System.EventHandler<ModuleDownloadProgressChangedEventArgs> |