Ejemplo n.º 1
0
Archivo: Admin.cs Proyecto: THJLI/dover
 public Admin()
 {
     this.asmLoader = ContainerManager.Container.Resolve<AssemblyManager>();
     this.appEventHandler = ContainerManager.Container.Resolve<IAppEventHandler>();
     this.frameworkAddinManager = ContainerManager.Container.Resolve<IAddinManager>();
     this.Logger = ContainerManager.Container.Resolve<ILogger>();
     UpdateAddinStatus();
 }
Ejemplo n.º 2
0
        public MicroCore(DatabaseConfiguration dbConf, AssemblyManager assemblyLoader,
            MicroCoreEventDispatcher dispatcher, MicroBoot microBoot, I18NService i18nService,
            FileUpdate fileUpdate)
        {
            this.microBoot = microBoot;
            this.dbConf = dbConf;
            this.assemblyLoader = assemblyLoader;
            this.dispatcher = dispatcher;
            this.i18nService = i18nService;
            this.fileUpdate = fileUpdate;

            i18nService.ConfigureThreadI18n(System.Threading.Thread.CurrentThread);
            microBoot.coreShutdownEvent = new ManualResetEvent(false);
        }