コード例 #1
0
        public PackageIconUploader(IMediaService mediaService, IPackageIconValidator packageIconValidator, IPackageMediaDirectoryHelper packageMediaDirectoryHelper) {
            _mediaService = mediaService;
            _packageMediaDirectoryHelper = packageMediaDirectoryHelper;
            _packageIconValidator = packageIconValidator;

            T = NullLocalizer.Instance;
        }
コード例 #2
0
ファイル: PackageService.cs プロジェクト: NickAndersonX/xodb
 public PackageService(IContentManager contentManager, IPackageMediaDirectoryHelper packageMediaDirectoryHelper,
     IIndexingTaskManager indexingTaskManager, IIndexNotifierHandler indexNotifierHandler) {
     _contentManager = contentManager;
     _indexNotifierHandler = indexNotifierHandler;
     _indexingTaskManager = indexingTaskManager;
     _packageMediaDirectoryHelper = packageMediaDirectoryHelper;
 }
コード例 #3
0
        public PackageScreenshotUploader(IMediaService mediaService, IPackageScreenshotValidator packageScreenshotValidator,
            IGalleryScreenshotService galleryScreenshotService, IPackageMediaDirectoryHelper packageMediaDirectoryHelper)
        {
            _mediaService = mediaService;
            _packageMediaDirectoryHelper = packageMediaDirectoryHelper;
            _galleryScreenshotService = galleryScreenshotService;
            _packageScreenshotValidator = packageScreenshotValidator;

            T = NullLocalizer.Instance;
        }
コード例 #4
0
 public PackageScreenshotDeleter(IGalleryScreenshotService galleryScreenshotService, IMediaService mediaService,
     IPackageMediaDirectoryHelper packageMediaDirectoryHelper) {
     _galleryScreenshotService = galleryScreenshotService;
     _packageMediaDirectoryHelper = packageMediaDirectoryHelper;
     _mediaService = mediaService;
 }