Example #1
0
 public ScraperInjectorService(
     StatelessServiceContext context,
     ITVShowDataProvider tvShowDataProvider,
     IShowCommandRepository showCommandRepository,
     ILogger logger,
     ScraperConfiguration configuration)
     : base(context)
 {
     this.dataProvider          = tvShowDataProvider;
     this.showCommandRepository = showCommandRepository;
     this.logger = logger;
     this.pollIntervalSeconds = configuration.PollIntervalSeconds;
 }
Example #2
0
 public Scraper(IShowCommandRepository showCommandRepository, ITVShowDataProvider dataProvider, ILogger logger)
 {
     this.showCommandRepository = showCommandRepository;
     this.dataProvider          = dataProvider;
     this.logger = logger;
 }