示例#1
0
        public MicroCore(DatabaseConfiguration dbConf, SAPbobsCOM.Company company, AssemblyManager assemblyLoader,
                         MicroCoreEventDispatcher dispatcher, MicroBoot microBoot, I18NService i18nService)
        {
            this.microBoot      = microBoot;
            this.company        = company;
            this.dbConf         = dbConf;
            this.assemblyLoader = assemblyLoader;
            this.dispatcher     = dispatcher;
            this.i18nService    = i18nService;

            i18nService.ConfigureThreadI18n(System.Threading.Thread.CurrentThread);
        }
示例#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);
        }
示例#3
0
文件: MicroCore.cs 项目: THJLI/dover
        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);
        }