public static YoutubeChannelSection RequestAllParts(this YoutubeChannelSection channelSection) { return(channelSection.RequestContentDetails() .RequestLocalizations() .RequestTargeting() .RequestSnippet()); }
public static YoutubePlaylists Playlists(this YoutubeChannelSection channelSection) { if (channelSection.PlaylistIds == null) { channelSection = channelSection.RequestContentDetails(); } if (channelSection.PlaylistIds == null) { return(null); } return(Playlists(channelSection.PlaylistIds.ToArray())); }