2022-02-18 00:08:42 +00:00
|
|
|
|
using IF.Lastfm.Core.Api;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
using Selector.Model;
|
2022-02-24 00:27:34 +00:00
|
|
|
|
using SpotifyAPI.Web;
|
2022-10-10 11:47:50 +01:00
|
|
|
|
using StackExchange.Redis;
|
2022-02-18 00:08:42 +00:00
|
|
|
|
|
|
|
|
|
namespace Selector.CLI
|
|
|
|
|
{
|
|
|
|
|
public class CommandContext
|
|
|
|
|
{
|
|
|
|
|
public RootOptions Config { get; set; }
|
|
|
|
|
public ILoggerFactory Logger { get; set; }
|
2022-10-10 11:47:50 +01:00
|
|
|
|
public ISpotifyClient Spotify { get; set; }
|
|
|
|
|
public ConnectionMultiplexer RedisMux { get; set; }
|
2022-02-18 00:08:42 +00:00
|
|
|
|
|
|
|
|
|
public DbContextOptionsBuilder<ApplicationDbContext> DatabaseConfig { get; set; }
|
|
|
|
|
public LastfmClient LastFmClient { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|