public RemoteDataSource(IYouTubeService youTubeServiceControl) { _youTubeServiceControl = youTubeServiceControl; _youTubeService = _youTubeServiceControl.GetService(); _subscriptionsHolder = new SubscriptionsHolder(_youTubeServiceControl); _youTubeWeb = new YouTubeWeb(); _playlists = new List <IPlaylistList>(); }
public async Task <IEnumerable <string> > GetAutoCompleteSearchItems(string query) { return(await YouTubeWeb.HttpGetAutoCompleteAsync(query)); }