Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilesHelper"/> class.
 /// </summary>
 /// <param name="pictureResizerService">The picture resizer service.</param>
 /// <param name="hostingEnvironment">The hosting environment.</param>
 public FilesHelper(
     ICorePictureResizerService pictureResizerService,
     IHostingEnvironment hostingEnvironment)
 {
     this.pictureResizerService = pictureResizerService;
     this.hostingEnvironment    = hostingEnvironment;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PictureService"/> class.
 /// </summary>
 /// <param name="filesHelper">The files helper.</param>
 /// <param name="corePictureService">The core picture service.</param>
 public PictureService(
     IFilesHelper filesHelper,
     ICorePictureResizerService corePictureService)
 {
     this.filesHelper        = filesHelper;
     this.corePictureService = corePictureService;
 }