示例#1
0
        public async Task TestMethod1()
        {
            YouTubeRequest request = new YouTubeRequest();

            request.channelId = "UCIzSrkEk2QHHoyWIH1B1Tnw";
            IYouTubeChannelVideosService service = _serviceProvider.GetService <IYouTubeChannelVideosService>();
            var result = await service.ChannelVideos(request);

            Assert.IsNotNull(result);
        }
 public YouTubeController(IYouTubeChannelVideosService youTubeChannelVideos)
 {
     _youTubeChannelVideos = youTubeChannelVideos;
 }