Esempio n. 1
0
 public TwitchBackgroundService(ILogger <TwitchBackgroundService> logger,
                                IServiceScopeFactory serviceScopeFactory, IntegrationManager integrationManager)
 {
     this.logger = logger;
     this.serviceScopeFactory = serviceScopeFactory;
     this.integrationManager  = integrationManager;
 }
Esempio n. 2
0
        public TwitchBackgroundService(ILogger <TwitchBackgroundService> logger,
                                       IServiceScopeFactory serviceScopeFactory, IntegrationManager integrationManager)
        {
            this.logger = logger;
            this.serviceScopeFactory = serviceScopeFactory;
            this.integrationManager  = integrationManager;

            messageQueue = new ConcurrentQueue <string>();
        }
Esempio n. 3
0
 public ChatProcessor(IHubContext <ChatHub> chatHubContext, AuthorService authorService,
                      BotService botService, IntegrationManager integrationManager, ChatRulesService chatRulesService,
                      ChatMessageService chatMessageService, ILogger <ChatMessageService> logger, MessageTemplateService messageTemplateService, EmoticonService emoticonService)
 {
     this.chatHubContext         = chatHubContext;
     this.authorService          = authorService;
     this.botService             = botService;
     this.integrationManager     = integrationManager;
     this.chatRulesService       = chatRulesService;
     this.chatMessageService     = chatMessageService;
     this.logger                 = logger;
     this.messageTemplateService = messageTemplateService;
     this.emoticonService        = emoticonService;
 }
Esempio n. 4
0
 public IntegrationService(DataContext db, IntegrationManager integrationManager)
 {
     this.db = db;
     this.integrationManager = integrationManager;
 }