public TransferViewModel( IDownloadsService downloadsService, IUploadsService uploadsService, IDialogsService dialogsService, IAppLoaderService appLoaderService, ILocService locService, IDispatcherWrapper dispatcherWrapper) { _downloadsService = downloadsService; _uploadsService = uploadsService; _dialogsService = dialogsService; _appLoaderService = appLoaderService; _locService = locService; _dispatcherWrapper = dispatcherWrapper; Downloads = new ObservableCollection <TransferItemViewModel>(); Uploads = new ObservableCollection <TransferItemViewModel>(); ShowInfoCommand = new DelegateCommand <TransferItemViewModel>(OnShowInfoCommand); CancelDownloadCommand = new DelegateCommand <TransferItemViewModel>(OnCancelDownloadCommand); CancelUploadCommand = new DelegateCommand <TransferItemViewModel>(OnCancelUploadCommand); PauseDownloadCommand = new DelegateCommand <TransferItemViewModel>(OnPauseResumeDownloadCommand); ResumeDownloadCommand = new DelegateCommand <TransferItemViewModel>(OnPauseResumeDownloadCommand); CancelAllDownloadsCommand = new DelegateCommand(OnCancelAllDownloadsCommand, CanExecuteCancelAllDownloadsCommand); CancelAllUploadsCommand = new DelegateCommand(OnCancelAllUploadsCommand, CanExecuteCancelAllUploadsCommand); }
public DownloadsController(IDownloadsService downloadsService, IEstablishmentReadService establishmentReadService, IGroupDownloadService groupDownloadService, HttpClientWrapper httpClientHelper) { _downloadsService = downloadsService; _establishmentReadService = establishmentReadService; _groupDownloadService = groupDownloadService; _httpClientHelper = httpClientHelper; }
public MonitorProgressService(RedseatDbContext dbContext, IShowService showService, IDownloadersService downloaderService, IDownloadsService downloadsService, ILogger <MonitorProgressService> logger, IParserService parserService, IBackgroundJobClient backgroundJobs) { _dbContext = dbContext; _showService = showService; _downloaderService = downloaderService; _downloadsService = downloadsService; _logger = logger; _parserService = parserService; _backgroundJobs = backgroundJobs; }
public DownloadsServiceHelper( IDialogsService dialogsService, IDownloadsService downloadsService, ILocService locService, IAppNotificationsService appNotificationsService) { _dialogsService = dialogsService; _downloadsService = downloadsService; _locService = locService; _appNotificationsService = appNotificationsService; }
public TransferNotificationsService( IDownloadsService downloadsService, IUploadsService uploadsService, ILocService locService, IAppNotificationsService appNotificationsService) { _downloadsService = downloadsService; _uploadsService = uploadsService; _locService = locService; _appNotificationsService = appNotificationsService; _notifications = new Dictionary <Guid, AppNotification>(4); }
public DownloadsController(IDownloadsService IDownloadsService) { _iDownloadsService = IDownloadsService; }
public DownloadsController(IDownloadsService downloadsService) { this.downloadsService = downloadsService; }
public DownloadsController(IDownloadsService downloadsService, IEstablishmentReadService establishmentReadService, IGroupDownloadService groupDownloadService) { _downloadsService = downloadsService; _establishmentReadService = establishmentReadService; _groupDownloadService = groupDownloadService; }