Beispiel #1
0
 public Tvdb(ICacheProvider _cacheProvider, String _apiKey)
 {
     m_apiKey                  = _apiKey;        //store api key
     m_cacheProvider           = _cacheProvider; //store given cache provider
     m_loadedData              = new TvdbData();
     m_loadedData.Mirrors      = new List <TvdbMirror>();
     m_loadedData.SeriesList   = new List <TvdbSeries>();
     m_loadedData.LanguageList = new List <TvdbLanguage>();
     TvdbLinks.ActiveMirror    = new TvdbMirror(0, new Uri(TvdbLinks.BASE_SERVER), 7);
     m_downloader              = new TvdbDownloader(m_apiKey);
 }