예제 #1
0
 public TwitchDataProvider(ILogger <TwitchDataProvider> logger, TwitchBadgeProvider twitchBadgeProvider, TwitchCheermoteProvider twitchCheermoteProvider, BTTVDataProvider bttvDataProvider, FFZDataProvider ffzDataProvider)
 {
     _logger = logger;
     _twitchBadgeProvider     = twitchBadgeProvider;
     _twitchCheermoteProvider = twitchCheermoteProvider;
     _bttvDataProvider        = bttvDataProvider;
     _ffzDataProvider         = ffzDataProvider;
 }
예제 #2
0
        public TwitchDataProvider(ILogger <TwitchDataProvider> logger, TwitchBadgeProvider twitchBadgeProvider, TwitchCheermoteProvider twitchCheermoteProvider, BTTVDataProvider bttvDataProvider,
                                  FFZDataProvider ffzDataProvider)
        {
            _logger = logger;
            _twitchBadgeProvider     = twitchBadgeProvider;
            _twitchCheermoteProvider = twitchCheermoteProvider;
            _bttvDataProvider        = bttvDataProvider;
            _ffzDataProvider         = ffzDataProvider;

            _globalLock  = new SemaphoreSlim(1, 1);
            _channelLock = new SemaphoreSlim(1, 1);
        }