Exemple #1
0
        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);
        }
Exemple #2
0
 public ModuleManager(IIocManager iocManager)
 {
     _modules    = new ModuleCollection();
     _iocManager = iocManager;
     Logger      = LogManager.GetLogger(GetType());
 }