예제 #1
0
 public AniListSeriesProvider(IApplicationPaths appPaths, IHttpClient httpClient, ILogger <AniListSeriesProvider> logger)
 {
     _log        = logger;
     _httpClient = httpClient;
     _aniListApi = new AniListApi();
     _paths      = appPaths;
 }
예제 #2
0
 public AniListSeriesImageProvider(IHttpClient httpClient)
 {
     _httpClient = httpClient;
     _aniListApi = new AniListApi();
 }
예제 #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);
 }