Ejemplo n.º 1
0
 public Worker(ILogger <Worker> logger, ObsClient obsClient, BotClient botClient, IConfiguration configuration)
 {
     _logger        = logger;
     _ObsClient     = obsClient;
     _BotClient     = botClient;
     _Configuration = configuration;
 }
Ejemplo n.º 2
0
 public BotClient(ILoggerFactory loggerFactory, IConfiguration configuration, ObsClient obsClient)
 {
     _Logger    = loggerFactory.CreateLogger("BotClient");
     _BotUrl    = new Uri(configuration["BotUrl"]);
     _ObsClient = obsClient;
 }