Exemple #1
0
 public ImageService()
 {
     _imageRepository         = new TImageRepository();
     _validationService       = new ValidationService();
     _historyService          = new HistoryService();
     _statisticService        = new StatisticService();
     _stateService            = new StateService();
     _tinyPngConnectorService = new TinyPNGConnectorService();
 }
 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 StateService()
 {
     _stateRepository = new TStateRepository();
     _imageRepository = new TImageRepository();
 }
Exemple #4
0
 public ValidationService()
 {
     _stateRepository = new TStateRepository();
     _imageRepository = new TImageRepository();
 }
 public ImageService()
 {
     _imageRepository = new TImageRepository();
     _serializer      = new JavaScriptSerializer();
 }