Beispiel #1
0
 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;
 }