Exemple #1
0
        public Altadefinizione01Indexer(ILogger logger, IMoviesIndexerService moviesIndexerService, ITaskQueueService taskQueueService)
        {
            _logger = logger;
            _moviesIndexerService = moviesIndexerService;
            _taskQueueService     = taskQueueService;
            var attr = GetType().GetCustomAttribute <MoviesIndexerAttribute>();

            _httpClient = moviesIndexerService.HttpClientFactory.CreateClient("linkDownloader");
            _baseUrl    = attr.BaseUrl;
        }
 public MoviesIndexerController(IMoviesIndexerService moviesIndexerService)
 {
     _moviesIndexerService = moviesIndexerService;
 }