Interface IModuleTypeLoader
Defines the interface for moduleTypeLoaders
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IModuleTypeLoader
  Methods
View SourceCanLoadModuleType(ModuleInfo)
Evaluates the Ref property to see if the current typeloader will be able to retrieve the moduleInfo.
Declaration
bool CanLoadModuleType(ModuleInfo moduleInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ModuleInfo | moduleInfo | Module that should have it's type loaded.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | true if the current typeloader is able to retrieve the module, otherwise false.  | 
      
LoadModuleType(ModuleInfo)
Retrieves the moduleInfo.
Declaration
void LoadModuleType(ModuleInfo moduleInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ModuleInfo | moduleInfo | Module that should have it's type loaded.  | 
      
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> | 
Remarks
This event is raised once per ModuleInfo instance requested in LoadModuleType(ModuleInfo).
ModuleDownloadProgressChanged
Raised repeatedly to provide progress as modules are downloaded in the background.
Declaration
event EventHandler<ModuleDownloadProgressChangedEventArgs> ModuleDownloadProgressChanged
  Event Type
| Type | Description | 
|---|---|
| System.EventHandler<ModuleDownloadProgressChangedEventArgs> |