public MediaServiceFileSystemAdapter(
     IMediaService mediaService,
     IFolderService folderService,
     MediaHelper mediaHelper,
     MediaExceptionFactory exceptionFactory)
 {
     _mediaService     = mediaService;
     _folderService    = folderService;
     _mediaHelper      = mediaHelper;
     _storageProvider  = mediaService.StorageProvider;
     _exceptionFactory = exceptionFactory;
     _mediaRootPath    = MediaFileSystem.GetMediaPublicPath();
 }
예제 #2
0
 static PictureService()
 {
     _processedImagesRootPath = MediaFileSystem.GetMediaPublicPath() + "image/";
     _fallbackImagesRootPath  = "content/images/";
 }
예제 #3
0
 static MediaUrlGenerator()
 {
     _processedImagesRootPath = MediaFileSystem.GetMediaPublicPath();
     _fallbackImagesRootPath  = "content/images/";
 }