public PackageScreenshotUploader(IMediaService mediaService, IPackageScreenshotValidator packageScreenshotValidator, IGalleryScreenshotService galleryScreenshotService, IPackageMediaDirectoryHelper packageMediaDirectoryHelper) { _mediaService = mediaService; _packageMediaDirectoryHelper = packageMediaDirectoryHelper; _galleryScreenshotService = galleryScreenshotService; _packageScreenshotValidator = packageScreenshotValidator; T = NullLocalizer.Instance; }
public UploadPackageLogoAndScreenshotsController(IGalleryPackageService galleryPackageService, IOrchardServices orchardServices, IUserPackageAuthorizer userPackageAuthorizer, IPackageIconUploader packageIconUploader, IPackageScreenshotUploader packageScreenshotUploader, IGalleryScreenshotService galleryScreenshotService, IPackageScreenshotDeleter packageScreenshotDeleter, IParameterFormatValidator parameterFormatValidator) { _galleryPackageService = galleryPackageService; _packageScreenshotDeleter = packageScreenshotDeleter; _parameterFormatValidator = parameterFormatValidator; _packageScreenshotUploader = packageScreenshotUploader; _packageIconUploader = packageIconUploader; _userPackageAuthorizer = userPackageAuthorizer; _orchardServices = orchardServices; T = NullLocalizer.Instance; }
public PackageScreenshotDeleter(IGalleryScreenshotService galleryScreenshotService, IMediaService mediaService, IPackageMediaDirectoryHelper packageMediaDirectoryHelper) { _galleryScreenshotService = galleryScreenshotService; _packageMediaDirectoryHelper = packageMediaDirectoryHelper; _mediaService = mediaService; }