Example #1
0
 public AniListSeriesProvider(IApplicationPaths appPaths, IHttpClient httpClient, ILogger <AniListSeriesProvider> logger)
 {
     _log        = logger;
     _httpClient = httpClient;
     _aniListApi = new AniListApi();
     _paths      = appPaths;
 }
Example #2
0
 public AniListSeriesImageProvider(IHttpClient httpClient)
 {
     _httpClient = httpClient;
     _aniListApi = new AniListApi();
 }
Example #3
0
 public AniListImageProvider()
 {
     _aniListApi = new AniListApi();
 }
 public AniListMovieProvider(IApplicationPaths appPaths, ILogger <AniListMovieProvider> logger)
 {
     _log        = logger;
     _aniListApi = new AniListApi();
     _paths      = appPaths;
 }
 public AniListSeriesImageProvider(IHttpClient httpClient, IApplicationPaths appPaths, IJsonSerializer jsonSerializer)
 {
     _httpClient = httpClient;
     _appPaths   = appPaths;
     _aniListApi = new AniListApi(jsonSerializer);
 }