示例#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;
 }
        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);
        }