Show / Hide Table of Contents

Interface IModuleTypeLoader

Defines the interface for moduleTypeLoaders

Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IModuleTypeLoader

Methods

View Source

CanLoadModuleType(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.

View Source

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 Source

LoadModuleCompleted

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).

View Source

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>

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX