Esempio n. 1
0
 public RefreshBookService(IBookService bookService,
                           IAuthorService authorService,
                           IAddAuthorService addAuthorService,
                           IEditionService editionService,
                           IAuthorMetadataService authorMetadataService,
                           IProvideAuthorInfo authorInfo,
                           IProvideBookInfo bookInfo,
                           IRefreshEditionService refreshEditionService,
                           IMediaFileService mediaFileService,
                           IHistoryService historyService,
                           IEventAggregator eventAggregator,
                           ICheckIfBookShouldBeRefreshed checkIfBookShouldBeRefreshed,
                           IMapCoversToLocal mediaCoverService,
                           Logger logger)
     : base(logger, authorMetadataService)
 {
     _bookService                  = bookService;
     _authorService                = authorService;
     _addAuthorService             = addAuthorService;
     _editionService               = editionService;
     _authorInfo                   = authorInfo;
     _bookInfo                     = bookInfo;
     _refreshEditionService        = refreshEditionService;
     _mediaFileService             = mediaFileService;
     _historyService               = historyService;
     _eventAggregator              = eventAggregator;
     _checkIfBookShouldBeRefreshed = checkIfBookShouldBeRefreshed;
     _mediaCoverService            = mediaCoverService;
     _logger = logger;
 }
Esempio n. 2
0
 public RefreshAuthorService(IProvideAuthorInfo authorInfo,
                             IAuthorService authorService,
                             IAuthorMetadataService authorMetadataService,
                             IBookService bookService,
                             IMetadataProfileService metadataProfileService,
                             IRefreshBookService refreshBookService,
                             IRefreshSeriesService refreshSeriesService,
                             IEventAggregator eventAggregator,
                             IManageCommandQueue commandQueueManager,
                             IMediaFileService mediaFileService,
                             IHistoryService historyService,
                             IRootFolderService rootFolderService,
                             ICheckIfAuthorShouldBeRefreshed checkIfAuthorShouldBeRefreshed,
                             IConfigService configService,
                             IImportListExclusionService importListExclusionService,
                             Logger logger)
     : base(logger, authorMetadataService)
 {
     _authorInfo                     = authorInfo;
     _authorService                  = authorService;
     _bookService                    = bookService;
     _metadataProfileService         = metadataProfileService;
     _refreshBookService             = refreshBookService;
     _refreshSeriesService           = refreshSeriesService;
     _eventAggregator                = eventAggregator;
     _commandQueueManager            = commandQueueManager;
     _mediaFileService               = mediaFileService;
     _historyService                 = historyService;
     _rootFolderService              = rootFolderService;
     _checkIfAuthorShouldBeRefreshed = checkIfAuthorShouldBeRefreshed;
     _configService                  = configService;
     _importListExclusionService     = importListExclusionService;
     _logger = logger;
 }
Esempio n. 3
0
 public AddAuthorService(IAuthorService authorService,
                         IAuthorMetadataService authorMetadataService,
                         IProvideAuthorInfo authorInfo,
                         IBuildFileNames fileNameBuilder,
                         IAddAuthorValidator addAuthorValidator,
                         Logger logger)
 {
     _authorService         = authorService;
     _authorMetadataService = authorMetadataService;
     _authorInfo            = authorInfo;
     _fileNameBuilder       = fileNameBuilder;
     _addAuthorValidator    = addAuthorValidator;
     _logger = logger;
 }
Esempio n. 4
0
 public RefreshSeriesService(IBookService bookService,
                             ISeriesService seriesService,
                             ISeriesBookLinkService linkService,
                             IRefreshSeriesBookLinkService refreshLinkService,
                             IAuthorMetadataService authorMetadataService,
                             Logger logger)
     : base(logger, authorMetadataService)
 {
     _bookService        = bookService;
     _seriesService      = seriesService;
     _linkService        = linkService;
     _refreshLinkService = refreshLinkService;
     _logger             = logger;
 }
 protected RefreshEntityServiceBase(Logger logger,
                                    IAuthorMetadataService authorMetadataService)
 {
     _logger = logger;
     _authorMetadataService = authorMetadataService;
 }