Beispiel #1
0
        public IoBot(IServiceProvider applicationServiceProvider, IHubContext <IoHub> overlayHubContext)
        {
            serviceProvider    = applicationServiceProvider;
            _overlayHubContext = overlayHubContext;
            _streamAnalytics   = serviceProvider.GetService <StreamAnalytics>();

            ConfigureBot();
        }
Beispiel #2
0
 public IoBot(TwitchClient twitchClient, StreamAnalytics streamAnalytics, IServiceProvider serviceProvider)
 {
     _streamAnalytics = streamAnalytics;
     _serviceProvider = serviceProvider;
     _twitchClient    = twitchClient;
 }