//private readonly IEventPublisher _eventPubisher; #endregion #region Ctor /// <summary> /// Ctor /// </summary> /// <param name="downloadRepository">Download repository</param> /// <param name="eventPubisher"></param> public DownloadDomainService(IDownloadRepository downloadRepository //IEventPublisher eventPubisher ) { _downloadRepository = downloadRepository; //_eventPubisher = eventPubisher; }
public DownloadFileController(IDownloadRepository downloads, IDownloadFileRepository files, IMapper mapper, IAuthorizationService authorizationService) { _downloads = downloads; _files = files; _mapper = mapper; _authorizationService = authorizationService; }
/// <summary> /// Initializes a new instance of the <see cref="DashboardService"/> class. /// </summary> /// <param name="DashboardRepository">The dashboard repository.</param> public DashboardService(IDashboardRepository DashboardRepository, IAccountService accountService, IFileService FileService, IDownloadRepository DownloadRepository) { this.m_DashboardRepository = DashboardRepository; this.m_AccountService = accountService; this.m_FileService = FileService; this.m_DownloadRepository = DownloadRepository; }
public UnitOfWork( ApplicationDbContext context, IUserRepository users, IRoleRepository roles, IRoleClaimsRepository roleClaims, IFileRepository files, IFolderRepository folders, IDownloadRepository downloads, IConfirmationKeyRepository confirmationKeys, IFileExtensionRepository fileExtensions, IPageRepository pages, IStorageServerRepository storageServer, ILogger <UnitOfWork> logger) { _context = context; _logger = logger; Users = users; Roles = roles; RoleClaims = roleClaims; Files = files; Folders = folders; Downloads = downloads; ConfirmationKeys = confirmationKeys; FileExtensions = fileExtensions; Pages = pages; StorageServer = storageServer; }
public DownloadAuthorController(IDownloadRepository downloads, IUserRepository users, IMapper mapper, IAuthorizationService authorizationService) { _downloads = downloads; _users = users; _mapper = mapper; _authorizationService = authorizationService; }
public DailyReportController(IHostEnvironment host, ILogger <DailyReportController> logger, IDownloadRepository downloadRepository, IDetailRepository detailRepository) { _host = host; _logger = logger; _downloadRepository = downloadRepository; _detailRepository = detailRepository; }
public ApplicationRepository(Func <QueryFactory> queryFactory, ICloudStorage storage, IOptions <CloudStorageOptions> options, IDownloadRepository downloads, IUserRepository users) : base(queryFactory) { _queryFactory = queryFactory; _storage = storage; _downloads = downloads; _users = users; _options = options.Value; }
/// <summary> /// Initializes a new instance of the <see cref="AttachmentsService" /> class. /// </summary> public AttachmentsService(IAttachmentsRepository attachmentRepository, IDownloadRepository downloadRepository, IAttachmentSecuritySettingsService AttachmentSecuritySettingService, IAccountService accountService, ILogService LogService) { m_AttachmentRepository = attachmentRepository; m_DownloadRepository = downloadRepository; m_AttachmentSecuritySettingService = AttachmentSecuritySettingService; m_AccountService = accountService; this.m_LogService = LogService; }
public CompositeController() { _articleRepository = new ArticleRepository(UnitOfWork); _bioRepository = new BioRepository(UnitOfWork); _eventRepository = new EventRepository(UnitOfWork); _qaRepository = new QARepository(UnitOfWork); _downloadRepository = new DownloadRepository(UnitOfWork); _searchRepository = new SearchRepository(UnitOfWork); }
public NewslettersController(INewsletterRepository newsletterRepository, INewsletterSubscriptionRepository newsletterSubscriptionRepository, ICaseRepository caseRepository, INewsItemRepository newsItemRepository, IDownloadRepository downloadRepository, INewsletterService newsletterService) { _newsletterRepository = newsletterRepository; _newsletterSubscriptionRepository = newsletterSubscriptionRepository; _caseRepository = caseRepository; _newsItemRepository = newsItemRepository; _downloadRepository = downloadRepository; _newsletterService = newsletterService; }
public CompositeController(IUnitOfWork unitOfWork, IArticleRepository articleRepository, IBioRepository bioRepository, IEventRepository eventRepository, IQARepository qaRepository, IDownloadRepository downloadRepository, ISearchRepository searchRepository) : base(unitOfWork) { _articleRepository = articleRepository; _bioRepository = bioRepository; _eventRepository = eventRepository; _qaRepository = qaRepository; _downloadRepository = downloadRepository; _searchRepository = searchRepository; }
public ProgressManager(IBus bus, IDownloadRepository repo) { _progresses = new ConcurrentDictionary <string, Progress> (); _notificationqueue = new ConcurrentDictionary <string, Download> (); _repository = repo; _bus = bus; _bus.Subscribe <NotifyGlobalProgress> (NotifyGlobalProgress); _bus.Subscribe <NotifyProgress> (NotifyProgress); _bus.Subscribe <ResetDownloads> (ResetDownloads); _bus.Subscribe <ThrottleNotifyProgress> (ThrottleNotifyProgress); }
public ProgressManager (IBus bus, IDownloadRepository repo) { _progresses = new ConcurrentDictionary<string, Progress> (); _notificationqueue = new ConcurrentDictionary<string, Download> (); _repository = repo; _bus = bus; _bus.Subscribe<NotifyGlobalProgress> (NotifyGlobalProgress); _bus.Subscribe<NotifyProgress> (NotifyProgress); _bus.Subscribe<ResetDownloads> (ResetDownloads); _bus.Subscribe<ThrottleNotifyProgress> (ThrottleNotifyProgress); }
public DownloadManager(IBus bus, IDownloadRepository repo, int maxdownloads) { _repo = repo; _maxdownload = maxdownloads; _bus = bus; _bus.Subscribe <QueueUrl> (QueueUrl); _bus.Subscribe <ResetDownloads> (ResetDownloads); _bus.Subscribe <ProgressDownload> (ProgressDownload); _bus.Subscribe <FinishedDownload> (FinishedDownload); _bus.Subscribe <CancelDownloads> (CancelDownloads); _bus.Subscribe <DownloadRejected> (DownloadRejected); _bus.Subscribe <DownloadError> (DownloadError); _bus.Subscribe <TaskError> (TaskError); _bus.Subscribe <FreeSlot> (FreeSlot); _bus.Subscribe <BackgroundSessionEnded> (BackgroundSessionEnded); _bus.Subscribe <CheckStoppedDownload> (CheckStoppedDownload); }
public DownloadManager (IBus bus, IDownloadRepository repo, int maxdownloads) { _repo = repo; _maxdownload = maxdownloads; _bus = bus; _bus.Subscribe<QueueUrl> (QueueUrl); _bus.Subscribe<ResetDownloads> (ResetDownloads); _bus.Subscribe<ProgressDownload> (ProgressDownload); _bus.Subscribe<FinishedDownload> (FinishedDownload); _bus.Subscribe<CancelDownloads> (CancelDownloads); _bus.Subscribe<DownloadRejected> (DownloadRejected); _bus.Subscribe<DownloadError> (DownloadError); _bus.Subscribe<TaskError> (TaskError); _bus.Subscribe<FreeSlot> (FreeSlot); _bus.Subscribe<BackgroundSessionEnded> (BackgroundSessionEnded); _bus.Subscribe<CheckStoppedDownload> (CheckStoppedDownload); }
public DownloadController(IUnitOfWork unitOfWork, IDownloadRepository formRepository) : base(unitOfWork) { _downloadRepository = formRepository; }
public DownloadController() { _downloadRepository = new DownloadRepository(UnitOfWork); }
public DownloadService(IUnitOfWork unitOfWork, IDownloadRepository downloadRepository, ILogService logService) { _unitOfWork = unitOfWork; _downloadRepository = downloadRepository; _logService = logService; }
public DownloadsController(IDownloadRepository downloadRepository, IUploadService uploadService, IItemTranslationRepository itemTranslationRepository) { _downloadRepository = downloadRepository; _uploadService = uploadService; _itemTranslationRepository = itemTranslationRepository; }
public DownloadController(IDownloadRepository downloads, IDownloadFileRepository files) { _downloads = downloads; _files = files; }
public DownloadsController(IDownloadRepository downloadRepository, IHubContext <Notifier> hubcontext) { this.downloadRepository = downloadRepository; this.hubcontext = hubcontext; }
public DownloadsController(IDownloadRepository downloadRepository, IDownloadLogRepository downloadLogRepository, IItemTranslationRepository itemTranslationRepository) { _downloadRepository = downloadRepository; _downloadLogRepository = downloadLogRepository; _itemTranslationRepository = itemTranslationRepository; }