Implements the IModuleLoader interface. Handles initialization of a set of modules based on types.

C# | Visual Basic | Visual C++ |
public class ModuleLoader : IModuleLoader
Public Class ModuleLoader _ Implements IModuleLoader
public ref class ModuleLoader : IModuleLoader

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | ModuleLoader(IContainerFacade, ILoggerFacade) |
Initializes a new instance of ModuleLoader.
|
![]() | CreateModule(Type) | |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | HandleModuleLoadError(ModuleInfo, String, Exception) |
Handles any exception that occurs in the module loading process,
logs the error using the ILoggerFacade,
and throws a ModuleLoadException.
This method can be overriden to provide a different behavior.
|
![]() | Initialize(array<ModuleInfo>[]()[]) |
Initialize the specified list of modules.
|
![]() | LoadAssembly(ModuleInfo) |
Loads an assembly based on the information in the specified ModuleInfo.
|
![]() | LoadedAssemblies |
Gets the loaded assemblies. This property is used for testability and it is not intended to be used by inheritors.
|
![]() | MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString()()() | (Inherited from Object.) |

Object | |
![]() | ModuleLoader |