Example #1
0
 public ImageResizeTagHelper(
     IMediaProfileService mediaProfileService,
     IOptions <MediaOptions> mediaOptions,
     IMediaTokenService mediaTokenService)
 {
     _mediaProfileService = mediaProfileService;
     _mediaOptions        = mediaOptions.Value;
     _mediaTokenService   = mediaTokenService;
 }
Example #2
0
 public ResizeUrlFilter(IMediaProfileService mediaProfileService, IMediaTokenService mediaTokenService, IOptions <MediaOptions> options)
 {
     _mediaProfileService = mediaProfileService;
     _mediaTokenService   = mediaTokenService;
     _options             = options.Value;
 }