示例#1
0
 /// <summary>
 /// Gets a list of channels based on the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns>
 public IHttpResponse GetChannels(YouTubeGetChannelListOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.GetResponse(options));
 }
示例#2
0
 /// <summary>
 /// Gets a list of channels based on the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="YouTubeChannelListResponse"/> representing the response.</returns>
 public YouTubeChannelListResponse GetChannels(YouTubeGetChannelListOptions options)
 {
     return(new YouTubeChannelListResponse(Raw.GetChannels(options)));
 }