Beispiel #1
0
 public CustomerImageEventHandler(
     ApplicationDbContext context,
     IImageUploadService imageUploadService)
 {
     _context            = context;
     _imageUploadService = imageUploadService;
 }
Beispiel #2
0
 public UsersController(FeedbackContext context, IAuthService authService, IImageUploadService imageUploadService, IConfiguration config, IMapper mapper)
 {
     _context            = context;
     _authService        = authService;
     _imageUploadService = imageUploadService;
     _config             = config;
     _mapper             = mapper;
 }
Beispiel #3
0
 public ModalCameraViewModel(
     IMvxPictureChooserTask pictureChooserTask,
     IInfoService infoService,
     INavigationService navigationService,
     IImageUploadService imageUploadService)
     : base(pictureChooserTask, infoService, navigationService, imageUploadService)
 {
 }
Beispiel #4
0
 public ImageProcessingService(
     ILogger <ImageProcessingService> logger,
     IOptions <ImageProcessingSettings> imageProcessingOptions,
     IImageUploadService imageUploadService)
 {
     _logger = logger;
     _imageProcessingSettings = imageProcessingOptions.Value;
     _imageUploadService      = imageUploadService;
 }
        public ReviewsController(IMapper mapper, IBeerReviewService reviewService, IImageUploadService imageUpload)
        {
            Guard.WhenArgument(mapper, nameof(mapper)).IsNull().Throw();
            Guard.WhenArgument(reviewService, nameof(reviewService)).IsNull().Throw();
            Guard.WhenArgument(imageUpload, nameof(imageUpload)).IsNull().Throw();

            this.mapper        = mapper;
            this.reviewService = reviewService;
            this.imageUpload   = imageUpload;
        }
 /// <inheritdoc />
 public UploadController(ILogger <UploadController> logger, IImageUploadService imageUploadService,
                         IEventBus eventBus, ImageDownloadClient imageDownloadClient, IOptions <TopicsConfiguration> topicsConfiguration, IMapper mapper)
 {
     _logger              = logger;
     _imageUploadService  = imageUploadService;
     _eventBus            = eventBus;
     _imageDownloadClient = imageDownloadClient;
     _topicsConfiguration = topicsConfiguration;
     _mapper              = mapper;
 }
        public ProfilePresenter(IProfileView view, IUserService userService, IImageUploadService imageUploadService)
            : base(view)
        {
            Validator.ValidateForNull(userService, "userService");
            Validator.ValidateForNull(imageUploadService, "imageUploadService");

            this.userService        = userService;
            this.imageUploadService = imageUploadService;

            this.View.PageLoad        += View_PageLoad;
            this.View.FileUploadClick += View_FileUploadClick;
        }
        public TestPackageTask(IPackageTestService testService, IFileSystem fileSystem, IConfigurationSettings configuration, IImageUploadService imageUploadService)
        {
            _testService        = testService;
            _fileSystem         = fileSystem;
            _configuration      = configuration;
            _imageUploadService = imageUploadService;

            if (!string.IsNullOrWhiteSpace(_configuration.PathToVirtualBox))
            {
                _vboxManageExe = _fileSystem.combine_paths(_configuration.PathToVirtualBox, "vboxmanage.exe");
            }
        }
Beispiel #9
0
 public BaseCameraViewModel(
     IMvxPictureChooserTask pictureChooserTask,
     IInfoService infoService,
     INavigationService navigationService,
     IImageUploadService imageUploadService)
 {
     _pictureChooserTask = pictureChooserTask;
     _imagesVM           = new ObservableCollection <CameraImageViewModel>();
     _infoService        = infoService;
     _images             = new List <Image>();
     _navigationService  = navigationService;
     _imageUploadService = imageUploadService;
 }
Beispiel #10
0
        public CreateReviewPresenter(IBeerReviewService reviewService,
                                     IImageUploadService imgUploadService,
                                     ICreateReviewView view)
            : base(reviewService, view)
        {
            if (imgUploadService == null)
            {
                throw new ArgumentNullException(nameof(imgUploadService));
            }

            this.imgUploadService     = imgUploadService;
            this.View.OnCreateReview += this.OnViewCreateReview;
        }
Beispiel #11
0
 public UpdateCategoryCommandHandler(DatabaseContext dbContext, IImageUploadService imageUploadService)
 {
     this.dbContext          = dbContext;
     this.imageUploadService = imageUploadService;
 }
Beispiel #12
0
 public AddAuctionCommandHandler(DatabaseContext dbContext, IImageUploadService imageUploadService)
 {
     this.dbContext          = dbContext;
     this.imageUploadService = imageUploadService;
 }
Beispiel #13
0
 public ImageController(IImageUploadService imageUploadService, IMessageQueueService messageQueueService, IImageService imageService)
 {
     this.imageUploadService  = imageUploadService;
     this.messageQueueService = messageQueueService;
     this.imageService        = imageService;
 }
Beispiel #14
0
 public ImageUploadController(IImageUploadService imageUploadService)
 {
     _imageUploadService = imageUploadService;
 }
Beispiel #15
0
 public AdvertImageService(IImageUploadService imageUploadService, IRepository <DataAccess.Entities.AdvertImageEntity> repository)
 {
     _imageUploadService = imageUploadService;
     _repository         = repository;
 }
 public FileUploadController(IImageUploadService uploadService)
 {
     _uploadService = uploadService;
 }
Beispiel #17
0
 public CatalogService(CatalogDbContext dbContext, IImageUploadService imageUploadService)
 {
     _dbContext          = dbContext;
     _imageUploadService = imageUploadService;
 }
Beispiel #18
0
 public PlacesController(FeedbackContext context, IMapper mapper, IImageUploadService imageUploadService)
 {
     _context            = context;
     _mapper             = mapper;
     _imageUploadService = imageUploadService;
 }
 /// <summary>
 /// Creates a new controller instance.
 /// </summary>
 /// <param name="imageUploadService">Image upload service</param>
 /// <param name="topicService">Topic service</param>
 public ImagesUploadController(IImageUploadService imageUploadService, ITopicService topicService) : base(topicService)
 {
     ImageUploadService = imageUploadService ?? throw new ArgumentNullException(nameof(imageUploadService));
 }