private void LoadAllModules() { Logger.Debug("Loading Abp modules..."); var moduleTypes = FindAllModules(); Logger.Debug("Found " + moduleTypes.Count + " ABP modules in total."); RegisterModules(moduleTypes); CreateModules(moduleTypes); ModuleCollection.EnsureKernelModuleToBeFirst(_modules); SetDependencies(); Logger.DebugFormat("{0} modules loaded.", _modules.Count); }
public ModuleManager(IIocManager iocManager) { _modules = new ModuleCollection(); _iocManager = iocManager; Logger = LogManager.GetLogger(GetType()); }