/// <summary> /// Initializes an instance of <see cref="VideoClient"/>. /// </summary> public VideoClient(HttpClient httpClient) { _controller = new YoutubeController(httpClient); Streams = new StreamClient(httpClient); ClosedCaptions = new ClosedCaptionClient(httpClient); }
internal PlaylistClient(YoutubeController controller) { _controller = controller; }
/// <summary> /// Initializes an instance of <see cref="SearchClient"/>. /// </summary> public SearchClient(HttpClient httpClient) { _controller = new YoutubeController(httpClient); }
/// <summary> /// Initializes an instance of <see cref="ClosedCaptionClient"/>. /// </summary> public ClosedCaptionClient(HttpClient httpClient) { _controller = new YoutubeController(httpClient); }
/// <summary> /// Initializes an instance of <see cref="ChannelClient"/>. /// </summary> public ChannelClient(HttpClient httpClient) { _controller = new YoutubeController(httpClient); }
public YoutubeControllerTest() { provider = new YoutubeApiProvider(Resources.YoutubeApiKey); controller = new YoutubeController(provider); }
/// <summary> /// Initializes an instance of <see cref="StreamClient"/>. /// </summary> public StreamClient(HttpClient httpClient) { _httpClient = httpClient; _controller = new YoutubeController(httpClient); }