Пример #1
0
 public RaiderIoModule(IServiceProvider services, IOptionsMonitor <Config> config)
 {
     _discord  = services.GetRequiredService <DiscordSocketClient>();
     _rio      = services.GetRequiredService <IRaiderIoService>();
     _services = services;
     _config   = config;
 }
Пример #2
0
 public LocalRaiderIoService(IBlizzardService blizzardService, IRaiderIoService raiderIoService)
 {
     this.blizzardService = blizzardService;
     this.raiderIoService = raiderIoService;
 }