Example #1
0
 protected RecurringTaskService(TimeSpan delay, ITimerAwaiter timerAwaiter, IServiceProvider services, ILogger <RecurringTaskService> logger, TimeSpan startDelay = default)
 {
     _services     = services;
     _logger       = logger;
     _startDelay   = startDelay;
     _delay        = delay;
     _timerAwaiter = timerAwaiter;
 }
Example #2
0
 public DaumCafeService(
     BaseSocketClient client,
     ISettingsService settings,
     ICredentialsService credentialsService,
     ILogger <DaumCafeService> logger,
     ITimerAwaiter timerAwaiter,
     IServiceProvider services)
     : base(UpdateFrequency, timerAwaiter, services, logger, UpdateFrequency)
 {
     _settings           = settings;
     _credentialsService = credentialsService;
     _logger             = logger;
     _client             = client;
 }