Пример #1
0
 public RemoteDataSource(IYouTubeService youTubeServiceControl)
 {
     _youTubeServiceControl = youTubeServiceControl;
     _youTubeService        = _youTubeServiceControl.GetService();
     _subscriptionsHolder   = new SubscriptionsHolder(_youTubeServiceControl);
     _youTubeWeb            = new YouTubeWeb();
     _playlists             = new List <IPlaylistList>();
 }
Пример #2
0
 public async Task <IEnumerable <string> > GetAutoCompleteSearchItems(string query)
 {
     return(await YouTubeWeb.HttpGetAutoCompleteAsync(query));
 }