public ContentFilesRuntimeCacheItemProvider( IMediaPathResolver mediaPathResolver, IOptions <PwaContentFilesPreCacheOptions> optionsAccessor ) { _mediaPathResolver = mediaPathResolver; _options = optionsAccessor.Value; }
public SiteFileSystemMediaProcessor( IMediaPathResolver mediaPathResolver, ILogger <FileSystemMediaProcessor> logger, IHostingEnvironment env ) : base(logger, env) { this.mediaPathResolver = mediaPathResolver; }
public SiteFileSystemMediaProcessor( SiteContext currentSite, IMediaPathResolver mediaPathResolver, ILogger <FileSystemMediaProcessor> logger, IHostingEnvironment env ) : base(logger, env) { _currentSite = currentSite; _mediaPathResolver = mediaPathResolver; }
public FileManagerService( IMediaPathResolver mediaPathResolver, IImageResizer imageResizer, IFileManagerNameRules fileManagerNameRules, IStringLocalizer <FileManagerStringResources> stringLocalizer, IOptions <FileManagerIcons> iconsAccessor, ILogger <FileManagerService> logger ) { _mediaPathResolver = mediaPathResolver; _imageResizer = imageResizer; _nameRules = fileManagerNameRules; _icons = iconsAccessor.Value; _sr = stringLocalizer; _log = logger; }
public FileManagerService( IMediaPathResolver mediaPathResolver, IImageResizer imageResizer, IFileManagerNameRules fileManagerNameRules, IStringLocalizer <FileManagerStringResources> stringLocalizer, //IEnumerable<IHandleFilesUploaded> uploadHandlers, IOptions <FileManagerIcons> iconsAccessor, ILogger <FileManagerService> logger ) { _mediaPathResolver = mediaPathResolver; _imageResizer = imageResizer; _nameRules = fileManagerNameRules; //_uploadHandlers = uploadHandlers; _icons = iconsAccessor.Value; _sr = stringLocalizer; _log = logger; }