Exemplo n.º 1
0
 public RingoBotCommands(
     IAuthService authService,
     IRingoService ringoService,
     ISpotifyService spotifyService,
     ILogger <RingoBotCommands> logger)
 {
     _authService    = authService;
     _ringoService   = ringoService;
     _spotifyService = spotifyService;
     _logger         = logger;
 }
Exemplo n.º 2
0
 public RingoBot3(
     ILogger <RingoBot3> logger,
     ISpotifyService spotifyService,
     IRingoService ringoService,
     RingoBotAccessors accessors,
     IConfiguration configuration,
     IRingoBotCommands ringoBotCommands)
 {
     _logger         = logger;
     _ringoService   = ringoService;
     _spotifyService = spotifyService;
     _stateAccessors = accessors ?? throw new ArgumentNullException(nameof(accessors));
     _contentRoot    = configuration.GetValue <string>(WebHostDefaults.ContentRootKey);
     _commands       = ringoBotCommands;
 }