Exemplo n.º 1
0
 /// <summary>
 /// Get items from cache
 /// </summary>
 /// <param name="pageOffset">offset of items -> not page number</param>
 /// <param name="count">count of wanted items</param>
 /// <returns>collection of items from cache</returns>
 public Task <IMovieItem> GetItemAtAsync(int index)
 {
     return(Task.Factory.StartNew(() =>
     {
         return _movieDb.GetItemAt(index) as IMovieItem;
     }));
 }