コード例 #1
0
 public TmdbSeasonProvider(IHttpClient httpClient, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILocalizationManager localization, IJsonSerializer jsonSerializer, ILoggerFactory loggerFactory)
 {
     _httpClient           = httpClient;
     _configurationManager = configurationManager;
     _fileSystem           = fileSystem;
     _localization         = localization;
     _jsonSerializer       = jsonSerializer;
     _logger = loggerFactory.CreateLogger(GetType().Name);
     Current = this;
 }
コード例 #2
0
 public TmdbSeasonProvider(IHttpClient httpClient, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILocalizationManager localization, IJsonSerializer jsonSerializer, ILogger <TmdbSeasonProvider> logger)
 {
     _httpClient           = httpClient;
     _configurationManager = configurationManager;
     _fileSystem           = fileSystem;
     _localization         = localization;
     _jsonSerializer       = jsonSerializer;
     _logger = logger;
     Current = this;
 }