Пример #1
0
 public TvShowNotificationWorkflow(
     TvShowNotificationsRepository movieNotificationsRepository,
     ITvShowUserInterface userInterface,
     bool automaticNotificationForNewRequests)
 {
     _notificationsRepository             = movieNotificationsRepository;
     _userInterface                       = userInterface;
     _automaticNotificationForNewRequests = automaticNotificationForNewRequests;
 }
 public NormalTvSeasonRequestingWorkflow(
     TvShowUserRequester user,
     ITvShowSearcher searcher,
     ITvShowRequester requester,
     ITvShowUserInterface userInterface,
     TvShowNotificationsRepository tvShowNotificationsRepository)
 {
     _user          = user;
     _searcher      = searcher;
     _requester     = requester;
     _userInterface = userInterface;
     _notificationRequestRepository = tvShowNotificationsRepository;
 }
 public DiscordTvShowsRequestingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     ITvShowSearcher tvShowSearcher,
     ITvShowRequester tvShowRequester,
     DiscordSettingsProvider discordSettingsProvider,
     TvShowNotificationsRepository notificationsRepository)
     : base(discord, context)
 {
     _tvShowSearcher          = tvShowSearcher;
     _tvShowRequester         = tvShowRequester;
     _notificationsRepository = notificationsRepository;
     _discordSettings         = discordSettingsProvider.Provide();
 }
Пример #4
0
 public TvShowWorkflowFactory(
     TvShowsSettingsProvider tvShowsSettingsProvider,
     DiscordSettingsProvider settingsProvider,
     TvShowNotificationsRepository notificationsRepository,
     OverseerrClient overseerrClient,
     OmbiClient ombiDownloadClient,
     SonarrClient radarrDownloadClient)
 {
     _tvShowsSettingsProvider = tvShowsSettingsProvider;
     _settingsProvider        = settingsProvider;
     _notificationsRepository = notificationsRepository;
     _overseerrClient         = overseerrClient;
     _ombiDownloadClient      = ombiDownloadClient;
     _sonarrDownloadClient    = radarrDownloadClient;
 }