public TinifierController() { _imageService = new ImageService(); _historyService = new HistoryService(); _tinyPngConnectorService = new TinyPNGConnectorService(); _settingsService = new SettingsService(); _statisticService = new StatisticService(); _stateService = new StateService(); }
public ImageService() { _imageRepository = new TImageRepository(); _validationService = new ValidationService(); _historyService = new HistoryService(); _statisticService = new StatisticService(); _stateService = new StateService(); _tinyPngConnectorService = new TinyPNGConnectorService(); }
public TinifierController() { _imageService = new ImageService(); _historyService = new HistoryService(); _tinyPngConnectorService = new TinyPNGConnectorService(); _settingsService = new SettingsService(); _stateService = new StateService(); _validationService = new ValidationService(); _backendDevsConnectorService = new BackendDevsConnectorService(); }
public ImageService() { _imageRepository = new TImageRepository(); _validationService = new ValidationService(); _historyService = new HistoryService(); _statisticService = new StatisticService(); _stateService = new StateService(); _tinyPngConnectorService = new TinyPNGConnectorService(); _backendDevsConnectorService = new BackendDevsConnectorService(); _mediaService = Umbraco.Core.ApplicationContext.Current.Services.MediaService; _settingsService = new SettingsService(); }
public TinifierController(IHistoryService historyService, ISettingsService settingsService, IValidationService validationService, IStateService stateService, ITinyPNGConnector tinyPngConnectorService, IFileSystem fileSystem, IImageOrganizer imageOrganizer, IImageService imageService) { _historyService = historyService; _imageService = imageService; _settingsService = settingsService; _validationService = validationService; _stateService = stateService; _tinyPngConnectorService = tinyPngConnectorService; _fileSystem = fileSystem; _imageOrganizer = imageOrganizer; }
public TImageService(IImageRepository imageRepository, IValidationService validationService, ITinyImageService tinyImageService, ISettingsService settingsService, IHistoryService historyService, IStatisticService statisticService, IStateService stateService, IFileSystem fileSystem, IImageHistoryService imageHistoryService, IMediaService mediaService, ITinyPNGConnector tinyPngConnectorService, IMediaHistoryRepository mediaHistoryRepository, IUmbracoDbRepository umbracoDbRepository, IUmbracoContextFactory context) { _imageRepository = imageRepository; _validationService = validationService; _tinyImageService = tinyImageService; _settingsService = settingsService; _historyService = historyService; _statisticService = statisticService; _stateService = stateService; _fileSystem = fileSystem; _imageHistoryService = imageHistoryService; _mediaService = mediaService; _tinyPngConnectorService = tinyPngConnectorService; _mediaHistoryRepository = mediaHistoryRepository; _umbracoDbRepository = umbracoDbRepository; _context = context; }
public TImageService(IImageRepository imageRepository, IValidationService validationService, ITinyImageService tinyImageService, ISettingsService settingsService, IHistoryService historyService, IStatisticService statisticService, IStateService stateService, IImageHistoryService imageHistoryService, IMediaService mediaService, ITinyPNGConnector tinyPngConnectorService, IMediaHistoryRepository mediaHistoryRepository, IUmbracoDbRepository umbracoDbRepository, IFileSystemRegistrationService fileSystemRegistrationService) { _imageRepository = imageRepository; _validationService = validationService; _tinyImageService = tinyImageService; _settingsService = settingsService; _historyService = historyService; _statisticService = statisticService; _stateService = stateService; _fileSystemRegistrationService = fileSystemRegistrationService; _fileSystem = _fileSystemRegistrationService.GetFileSystem(); _imageHistoryService = imageHistoryService; _mediaService = mediaService; _tinyPngConnectorService = tinyPngConnectorService; _mediaHistoryRepository = mediaHistoryRepository; _umbracoDbRepository = umbracoDbRepository; }