Beispiel #1
0
 public ImageResizerMiddleware(RequestDelegate next, IWebHostEnvironment env, ImageResizer imageResizer,
                               AppConfiguration appConfiguration, ICustomImageCacheController cacheController)
 {
     _next             = next;
     _env              = env;
     _imageResizer     = imageResizer;
     _appConfiguration = appConfiguration;
     _cacheController  = cacheController;
 }
Beispiel #2
0
 public ImageFileManager(AppConfiguration options, ICustomImageCacheController cacheController)
 {
     _options         = options;
     _cacheController = cacheController;
 }
Beispiel #3
0
 public AdsController(AdBoardContext context, AppConfiguration options, ICustomImageCacheController cacheController)
 {
     _context         = context;
     _options         = options;
     _cacheController = cacheController;
 }