Ejemplo n.º 1
0
 public RefreshArtistService(IProvideArtistInfo artistInfo,
                             IArtistService artistService,
                             IArtistMetadataService artistMetadataService,
                             IAlbumService albumService,
                             IRefreshAlbumService refreshAlbumService,
                             IEventAggregator eventAggregator,
                             IMediaFileService mediaFileService,
                             IHistoryService historyService,
                             IDiskScanService diskScanService,
                             ICheckIfArtistShouldBeRefreshed checkIfArtistShouldBeRefreshed,
                             IConfigService configService,
                             IImportListExclusionService importListExclusionService,
                             Logger logger)
     : base(logger, artistMetadataService)
 {
     _artistInfo                     = artistInfo;
     _artistService                  = artistService;
     _albumService                   = albumService;
     _refreshAlbumService            = refreshAlbumService;
     _eventAggregator                = eventAggregator;
     _mediaFileService               = mediaFileService;
     _historyService                 = historyService;
     _diskScanService                = diskScanService;
     _checkIfArtistShouldBeRefreshed = checkIfArtistShouldBeRefreshed;
     _configService                  = configService;
     _importListExclusionService     = importListExclusionService;
     _logger = logger;
 }
Ejemplo n.º 2
0
 public AlbumAddedHandler(ICheckIfArtistShouldBeRefreshed checkIfArtistShouldBeRefreshed,
                          IManageCommandQueue commandQueueManager)
 {
     _checkIfArtistShouldBeRefreshed = checkIfArtistShouldBeRefreshed;
     _commandQueueManager            = commandQueueManager;
 }