Exemple #1
0
 public DeleteSubscriptionFolderFilesJob(IVideoStorageService videoStorage,
                                         SubscriptionManager subscriptionManager,
                                         ILogger <DeleteFilesJob> logger,
                                         DataContext dataContext)
     : base(videoStorage, subscriptionManager, logger, dataContext)
 {
 }
 public DeleteSubscriptionFilesJob(IVideoStorageService videoStorage,
                                   SubscriptionManager subscriptionManager,
                                   JobTrackerService jobTrackerService,
                                   ILogger <DeleteFilesJob> logger,
                                   DataContext dataContext)
     : base(videoStorage, subscriptionManager, jobTrackerService, logger, dataContext)
 {
 }
Exemple #3
0
 public DeleteFilesJob(IVideoStorageService videoStorage,
                       SubscriptionManager subscriptionManager,
                       ILogger <DeleteFilesJob> logger,
                       DataContext dataContext)
     : base(logger, dataContext)
 {
     this.videoStorage        = videoStorage;
     this.subscriptionManager = subscriptionManager;
 }
 public SubscriptionManager(DataContext dataContext,
                            IOptionManager optionManager,
                            IProviderManager providerManager,
                            RegardScheduler scheduler,
                            IVideoStorageService videoStorageService)
 {
     this.dataContext         = dataContext;
     this.optionManager       = optionManager;
     this.providerManager     = providerManager;
     this.scheduler           = scheduler;
     this.videoStorageService = videoStorageService;
 }
Exemple #5
0
 public VideoController(UserManager <UserAccount> userManager,
                        VideoManager videoManager,
                        SubscriptionManager subscriptionManager,
                        ApiResponseFactory responseFactory,
                        ApiModelFactory modelFactory,
                        IVideoStorageService videoStorage)
 {
     this.userManager         = userManager;
     this.videoManager        = videoManager;
     this.subscriptionManager = subscriptionManager;
     this.responseFactory     = responseFactory;
     this.modelFactory        = modelFactory;
     this.videoStorage        = videoStorage;
 }
 public DownloadVideoJob(ILogger <DownloadVideoJob> logger,
                         DataContext dataContext,
                         IConfiguration configuration,
                         IOptionManager optionManager,
                         IYoutubeDlService ytdlService,
                         IVideoDownloaderService videoDownloader,
                         IVideoStorageService videoStorage) : base(logger, dataContext)
 {
     this.configuration   = configuration;
     this.optionManager   = optionManager;
     this.ytdlService     = ytdlService;
     this.videoDownloader = videoDownloader;
     this.videoStorage    = videoStorage;
 }
 public SynchronizeJob(ILogger <SynchronizeJob> log,
                       DataContext dataContext,
                       JobTrackerService jobTrackerService,
                       IOptionManager optionManager,
                       IProviderManager providerManager,
                       IVideoStorageService videoStorageService,
                       IVideoDownloaderService videoDownloader,
                       RegardScheduler scheduler) : base(log, dataContext, jobTrackerService)
 {
     this.optionManager       = optionManager;
     this.providerManager     = providerManager;
     this.videoStorageService = videoStorageService;
     this.videoDownloader     = videoDownloader;
     this.scheduler           = scheduler;
 }
 public SubscriptionManager(DataContext dataContext,
                            IOptionManager optionManager,
                            IProviderManager providerManager,
                            MessagingService messaging,
                            RegardScheduler scheduler,
                            IVideoStorageService videoStorageService,
                            ApiModelFactory apiModelFactory)
 {
     this.dataContext         = dataContext;
     this.optionManager       = optionManager;
     this.providerManager     = providerManager;
     this.messaging           = messaging;
     this.scheduler           = scheduler;
     this.videoStorageService = videoStorageService;
     this.apiModelFactory     = apiModelFactory;
 }