public MediaCoverService(IMediaCoverProxy mediaCoverProxy, IImageResizer resizer, IHttpClient httpClient, IDiskProvider diskProvider, IAppFolderInfo appFolderInfo, ICoverExistsSpecification coverExistsSpecification, IConfigFileProvider configFileProvider, IEventAggregator eventAggregator, Logger logger) { _mediaCoverProxy = mediaCoverProxy; _resizer = resizer; _httpClient = httpClient; _diskProvider = diskProvider; _coverExistsSpecification = coverExistsSpecification; _configFileProvider = configFileProvider; _eventAggregator = eventAggregator; _logger = logger; _coverRootFolder = appFolderInfo.GetMediaCoverPath(); }
public MediaCoverProxyMapper(IMediaCoverProxy mediaCoverProxy) { _mediaCoverProxy = mediaCoverProxy; }
public MediaCoverProxyMapper(IMediaCoverProxy mediaCoverProxy) { _mediaCoverProxy = mediaCoverProxy; _mimeTypeProvider = new FileExtensionContentTypeProvider(); }