예제 #1
0
 public TwitchClipController(
     IDiscordNotificationService discordNotificationService,
     ITwitchApiService twitchApiService)
 {
     _discordNotificationService = discordNotificationService;
     _twitchApiService           = twitchApiService;
 }
예제 #2
0
 public TwitchHighlightsController(
     IDiscordNotificationService discordNotificationService,
     ITwitchApiService twitchApiService,
     TwitchVideoToDiscordNotificationTranslator translator)
 {
     _discordNotificationService = discordNotificationService;
     _twitchApiService           = twitchApiService;
     _translator = translator;
 }
 public TwitchStreamChangeController(
     ITwitchSubscriptionService subscriptionService,
     IDiscordNotificationService discordNotificationService,
     ITwitchApiService twitchApiService,
     ILogger <TwitchStreamChangeController> logger) : base(logger, SubscriptionType.StreamOnline)
 {
     _subscriptionService        = subscriptionService;
     _discordNotificationService = discordNotificationService;
     _twitchApiService           = twitchApiService;
 }
예제 #4
0
 public RuleCheckService(
     IChannelRepository channelRepository,
     ISuspensionRepository suspensionRepository,
     IMessageDispatcher messageDispatcher,
     ISystemBanService systemBanService,
     IDiscordNotificationService discordNotificationService,
     ILogger <RuleCheckService> logger)
 {
     this.channelRepository          = channelRepository;
     this.suspensionRepository       = suspensionRepository;
     this.messageDispatcher          = messageDispatcher;
     this.systemBanService           = systemBanService;
     this.discordNotificationService = discordNotificationService;
     this.logger = logger;
 }
 public DiscordController(IDiscordNotificationService discordNotificationService)
 {
     _discordNotificationService = discordNotificationService;
 }
예제 #6
0
 public BuildDetailsConsumer(IDiscordNotificationService notificationService)
 {
     this.notificationService = notificationService;
 }