public RefreshAccessTokenJob(ILogger <RefreshAccessTokenJob> logger, ITooGoodToGoService tooGoodToGoService, Context context) { _logger = logger; _tooGoodToGoService = tooGoodToGoService; _context = context; _guid = Guid.NewGuid(); }
public FavoriteBasketsWatcherJob(ILogger <FavoriteBasketsWatcherJob> logger, IOptions <NotifierOptions> notifierOptions, ITooGoodToGoService tooGoodToGoService, IEmailService emailService, Context context) { _logger = logger; _notifierOptions = notifierOptions.Value; _tooGoodToGoService = tooGoodToGoService; _emailService = emailService; _context = context; _guid = Guid.NewGuid(); }
public TooGoodToGoNotifierWorker(ILogger <TooGoodToGoNotifierWorker> logger, IHostApplicationLifetime hostApplicationLifetime, IServiceProvider serviceProvider, IOptions <NotifierOptions> notifierOptions, ITooGoodToGoService tooGoodToGoService, Context context) { _logger = logger; _serviceProvider = serviceProvider; _hostApplicationLifetime = hostApplicationLifetime; _notifierOptions = notifierOptions.Value; _tooGoodToGoService = tooGoodToGoService; _context = context; }