Ejemplo n.º 1
0
 public DiscordService(ILogger <DiscordService> log, IMessageBroker broker, IEpisodeAlertService episodeAlertService,
                       IMediaInfoClient mediaClient, DiscordOptions options)
 {
     _log    = log;
     _broker = broker;
     _episodeAlertService = episodeAlertService;
     _mediaClient         = mediaClient;
     _options             = options;
 }
Ejemplo n.º 2
0
 public EpisodeProcessor(IEpisodeStore episodeStore, ILogger <EpisodeProcessor> logger,
                         IMediaInfoClient mediaInfoClient, IProcessedEpisodeRepository processedRepository
                         , IMessageBroker broker)
     : base(logger)
 {
     _episodeStore        = episodeStore;
     _mediaInfoRepository = mediaInfoClient;
     _repo   = processedRepository;
     _broker = broker;
 }
Ejemplo n.º 3
0
 public WatchCommand(IMediaInfoClient mediaInfoRepository, DiscordOptions options)
 {
     _mediaInfoRepository = mediaInfoRepository;
     _viewerDomain        = options.ViewerDomain;
 }
Ejemplo n.º 4
0
 public ShowCommand(IMediaInfoClient mediaInfoRepository)
 {
     _mediaInfoRepository = mediaInfoRepository;
 }
 public EpisodeAlertService(IMediaInfoClient mediaInfoClient, DiscordOptions options)
     : base(options)
 {
     _mediaInfoClient = mediaInfoClient;
 }