Пример #1
0
        public uSyncService(
            SyncHandlerCollection syncHandlers
            )
        {
            this.syncHandlers = syncHandlers;
            this.settings     = Current.Configs.uSync();

            uSyncConfig.Reloaded += BackOfficeConfig_Reloaded;
        }
Пример #2
0
        public uSyncDashboardApiController(
            uSyncService uSyncService,
            SyncHandlerCollection syncHandlers,
            uSyncConfig config)
        {
            this.Config       = config;
            this.uSyncService = uSyncService;

            this.settings     = Current.Configs.uSync();
            this.syncHandlers = syncHandlers;

            uSyncConfig.Reloaded += BackOfficeConfig_Reloaded;
        }
Пример #3
0
        public uSyncBackofficeComponent(
            SyncHandlerCollection syncHandlers,
            IProfilingLogger logger,
            SyncFileService fileService,
            uSyncService uSyncService,
            IRuntimeState runtimeState)
        {
            globalSettings = Current.Configs.uSync();

            this.runtimeState = runtimeState;
            this.syncHandlers = syncHandlers;
            this.logger       = logger;

            this.syncFileService = fileService;
            this.uSyncService    = uSyncService;
        }