public CustomFormatService(ICustomFormatRepository formatRepository, ICacheManager cacheManager, IEventAggregator eventAggregator) { _formatRepository = formatRepository; _eventAggregator = eventAggregator; _cache = cacheManager.GetCache <Dictionary <int, CustomFormat> >(typeof(CustomFormat), "formats"); }
public CustomFormatService(ICustomFormatRepository formatRepository, ICacheManager cacheManager, IContainer container, Logger logger) { _formatRepository = formatRepository; _container = container; _cache = cacheManager.GetCache <Dictionary <int, CustomFormat> >(typeof(CustomFormat), "formats"); _logger = logger; }
public CustomFormatService(ICustomFormatRepository formatRepository, ICacheManager cacheManager, IContainer container, IHistoryService historyService,/*IMediaFileService mediaFileService, IBlacklistService blacklistService, * IHistoryService historyService, IPendingReleaseService pendingReleaseService,*/ Logger logger) { _formatRepository = formatRepository; _container = container; _cache = cacheManager.GetCache <Dictionary <int, CustomFormat> >(typeof(CustomFormat), "formats"); /*_mediaFileService = mediaFileService; * _blacklistService = blacklistService; * _historyService = historyService; * _pendingReleaseService = pendingReleaseService;*/ _historyService = historyService; _logger = logger; }