Метод | Описание | |
---|---|---|
HandleModuleInitializationError ( |
Handles any exception ocurred in the module Initialization process, logs the error using the ILoggerFacade and throws a ModuleInitializeException. This method can be overriden to provide a different behavior.
|
|
ModuleInitializer ( IServiceLocator serviceLocator, ILoggerFacade loggerFacade ) : System |
Initializes a new instance of ModuleInitializer.
|
Метод | Описание | |
---|---|---|
CreateModule ( |
Uses the container to resolve a new IModule by specifying its Type.
|
|
CreateModule ( string typeName ) : IModule |
Uses the container to resolve a new IModule by specifying its Type.
|
Метод | Описание | |
---|---|---|
Initialize ( |
protected CreateModule ( |
||
moduleInfo | The module to create. | |
Результат | IModule |
protected CreateModule ( string typeName ) : IModule | ||
typeName | string | The type name to resolve. This type must implement |
Результат | IModule |
public HandleModuleInitializationError ( |
||
moduleInfo | The module metadata where the error happenened. | |
assemblyName | string | The assembly name. |
exception | The exception thrown that is the cause of the current error. | |
Результат | void |
public ModuleInitializer ( IServiceLocator serviceLocator, ILoggerFacade loggerFacade ) : System | ||
serviceLocator | IServiceLocator | The container that will be used to resolve the modules by specifying its type. |
loggerFacade | ILoggerFacade | The logger to use. |
Результат | System |