/// <summary> /// Loads the full list of genres into the cache /// As the genre list is very limited and will not change rapidly, the entire list is cached locally the first time it's needed /// NOTE: For simplicity, language en-US is assumed. /// </summary> /// <returns></returns> private async Task Initialize() { LoadGenreListAction action = new LoadGenreListAction() .SetLanguage("en-US"); //Hard-coded default for now; var genreList = await action.Execute(_Client); _Cache.StoreItems(genreList.genres); _Initialized = true; }
public void TearDown() { TestObject = null; }
public void Setup() { TestObject = new LoadGenreListAction(); }