public BitcoinAverageApiScopedSyncScheduleService(DbContext set_db, BitcoinAverageApiSingletonAsyncScheduleService set_async_bitcoin_average_api_schedule_service)
     : base(set_db, set_async_bitcoin_average_api_schedule_service)
 {
     if (IsReady && AsyncBitcoinAverageBtcRateScheduleService.RatesBTC.Count > 0)
     {
         BasicSingletonService.SetStatus("Запуск sync scoped service", StatusTypes.DebugStatus);
         SyncUpdate();
         BasicSingletonService.SetStatus(null, StatusTypes.DebugStatus);
     }
 }
Пример #2
0
 public ElectrumScopedSyncScheduleService(DbContext set_db, ElectrumJsonRpcSingletonAsyncScheduleService set_async_electrum_schedule_service)
     : base(set_db, set_async_electrum_schedule_service)
 {
     if (IsReady && AsyncElectrumScheduleService.Transactions.Count > 0)
     {
         BasicSingletonService.SetStatus("Запуск sync scoped service", StatusTypes.DebugStatus);
         SyncUpdate();
         BasicSingletonService.SetStatus(null, StatusTypes.DebugStatus);
     }
 }
 public LocalbitcoinsBtcRateScopedSyncScheduleService(DbContext set_db, LocalbitcoinsBtcRateSingletonAsyncScheduleService set_async_localbitcoins_btc_rate_schedule_service)
     : base(set_db, set_async_localbitcoins_btc_rate_schedule_service)
 {
     if (IsReady)
     {
         BasicSingletonService.SetStatus("Запуск sync scoped service", StatusTypes.DebugStatus);
         SyncUpdate();
         BasicSingletonService.SetStatus(null, StatusTypes.DebugStatus);
     }
 }