Exemple #1
0
 public TvRequestEngine(ITvMazeApi tvApi, IRequestServiceMain requestService, IPrincipal user,
                        INotificationHelper helper, IRuleEvaluator rule, OmbiUserManager manager,
                        ITvSender sender, IAuditRepository audit, IRepository <RequestLog> rl) : base(user, requestService, rule, manager)
 {
     TvApi = tvApi;
     NotificationHelper = helper;
     TvSender           = sender;
     Audit       = audit;
     _requestLog = rl;
 }
 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;
 }
Exemple #3
0
 public TvRequestEngine(ITvMazeApi tvApi, IMovieDbApi movApi, IRequestServiceMain requestService, IPrincipal user,
                        INotificationHelper helper, IRuleEvaluator rule, OmbiUserManager manager,
                        ITvSender sender, IRepository <RequestLog> rl, ISettingsService <OmbiSettings> settings, ICacheService cache,
                        IRepository <RequestSubscription> sub) : base(user, requestService, rule, manager, cache, settings, sub)
 {
     TvApi              = tvApi;
     MovieDbApi         = movApi;
     NotificationHelper = helper;
     TvSender           = sender;
     _requestLog        = rl;
 }