Пример #1
0
 public TwitchBackgroundService(ILogger <TwitchBackgroundService> logger,
                                IServiceScopeFactory serviceScopeFactory, IntegrationManager integrationManager)
 {
     this.logger = logger;
     this.serviceScopeFactory = serviceScopeFactory;
     this.integrationManager  = integrationManager;
 }
Пример #2
0
        public TwitchBackgroundService(ILogger <TwitchBackgroundService> logger,
                                       IServiceScopeFactory serviceScopeFactory, IntegrationManager integrationManager)
        {
            this.logger = logger;
            this.serviceScopeFactory = serviceScopeFactory;
            this.integrationManager  = integrationManager;

            messageQueue = new ConcurrentQueue <string>();
        }
Пример #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;
 }
Пример #4
0
 public IntegrationService(DataContext db, IntegrationManager integrationManager)
 {
     this.db = db;
     this.integrationManager = integrationManager;
 }