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

            ConfigureBot();
        }
Exemplo n.º 2
0
 public IoBot(TwitchClient twitchClient, StreamAnalytics streamAnalytics, IServiceProvider serviceProvider)
 {
     _streamAnalytics = streamAnalytics;
     _serviceProvider = serviceProvider;
     _twitchClient    = twitchClient;
 }