Esempio n. 1
0
 public DiscordPingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     DiscordSettingsProvider discordSettingsProvider)
     : base(discord, context)
 {
     _discordSettings = discordSettingsProvider.Provide();
 }
 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();
 }
 public DiscordMovieRequestingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     IMovieSearcher movieSearcher,
     IMovieRequester movieRequester,
     DiscordSettingsProvider discordSettingsProvider,
     MovieNotificationsRepository notificationRequestRepository)
     : base(discord, context)
 {
     _movieSearcher  = movieSearcher;
     _movieRequester = movieRequester;
     _notificationRequestRepository = notificationRequestRepository;
     _discordSettings = discordSettingsProvider.Provide();
 }