public void Logout() { _youTubeServiceControl.Logout(); _youTubeService = _youTubeServiceControl.GetService(); _subscriptionsHolder.Clear(); ClearProfileInfo(); }
public RemoteDataSource(IYouTubeService youTubeServiceControl) { _youTubeServiceControl = youTubeServiceControl; _youTubeService = _youTubeServiceControl.GetService(); _subscriptionsHolder = new SubscriptionsHolder(_youTubeServiceControl); _youTubeWeb = new YouTubeWeb(); _playlists = new List <IPlaylistList>(); }