Пример #1
0
 public DownloadPlaylistInfoTask(RabbitMQConnection rabbitMQ, RpcClient rpcClient,
                                 DownloadMediaTask downloadMediaTask, BoxAPI box,
                                 ILogger <DownloadPlaylistInfoTask> logger, SlackLogger slack)
     : base(rabbitMQ, TaskType.DownloadPlaylistInfo, logger)
 {
     _rpcClient         = rpcClient;
     _downloadMediaTask = downloadMediaTask;
     _box   = box;
     _slack = slack;
 }
Пример #2
0
 public DownloadMediaTask(RabbitMQConnection rabbitMQ, RpcClient rpcClient,
                          TranscriptionTask transcriptionTask, ProcessVideoTask processVideoTask, BoxAPI box,
                          ILogger <DownloadMediaTask> logger, SlackLogger slack)
     : base(rabbitMQ, TaskType.DownloadMedia, logger)
 {
     _rpcClient         = rpcClient;
     _transcriptionTask = transcriptionTask;
     _processVideoTask  = processVideoTask;
     _box   = box;
     _slack = slack;
 }
Пример #3
0
 public UpdateBoxTokenTask(RabbitMQConnection rabbitMQ, BoxAPI box, ILogger <UpdateBoxTokenTask> logger)
     : base(rabbitMQ, TaskType.UpdateBoxToken, logger)
 {
     _box = box;
 }