Esempio n. 1
0
 public ResendFailedRequests(IRepository <RequestQueue> queue, IMovieSender movieSender, ITvSender tvSender, IMusicSender musicSender,
                             IMovieRequestRepository movieRepo, ITvRequestRepository tvRepo, IMusicRequestRepository music)
 {
     _requestQueue           = queue;
     _movieSender            = movieSender;
     _tvSender               = tvSender;
     _musicSender            = musicSender;
     _movieRequestRepository = movieRepo;
     _tvRequestRepository    = tvRepo;
     _musicRequestRepository = music;
 }
Esempio n. 2
0
 public MusicRequestEngine(IRequestServiceMain requestService, IPrincipal user,
                           INotificationHelper helper, IRuleEvaluator r, ILogger <MusicRequestEngine> log,
                           OmbiUserManager manager, IRepository <RequestLog> rl, ICacheService cache,
                           ISettingsService <OmbiSettings> ombiSettings, IRepository <RequestSubscription> sub, ILidarrApi lidarr,
                           ISettingsService <LidarrSettings> lidarrSettings, IMusicSender sender)
     : base(user, requestService, r, manager, cache, ombiSettings, sub)
 {
     NotificationHelper = helper;
     _musicSender       = sender;
     Logger             = log;
     _requestLog        = rl;
     _lidarrApi         = lidarr;
     _lidarrSettings    = lidarrSettings;
 }