コード例 #1
0
 public TransmissionService(
     IOptions <TransmissionOptions> options,
     IMovieService movieService,
     ILogger <TransmissionService> logger,
     MolliesMoviesContext context,
     ISystemClock clock,
     IScraperService scraperService,
     IScraperBackgroundService scraperBackgroundService,
     IMapper mapper)
 {
     _options                  = options;
     _movieService             = movieService;
     _logger                   = logger;
     _context                  = context;
     _clock                    = clock;
     _scraperService           = scraperService;
     _scraperBackgroundService = scraperBackgroundService;
     _mapper                   = mapper;
 }
コード例 #2
0
 public ScraperController(IScraperService service, IScraperBackgroundService backgroundService)
 {
     _service           = service;
     _backgroundService = backgroundService;
 }