示例#1
0
        public async Task MovieReleaseDatesTest()
        {
            MovieReleaseDates movieRelease = await mdb.MovieReleaseDates(299537, new UrlParameters { });

            Console.WriteLine("movieRelease id: {0}", movieRelease.id);
            Console.WriteLine("movieRelease result length id: {0}", movieRelease.results.Length);
            Console.WriteLine("movieRelease result iso: {0}", movieRelease.results[0].iso_3166_1);
            Console.WriteLine("movieRelease result releaseDates length: {0}", movieRelease.results[0].release_dates.Length);
            Console.WriteLine("movieRelease result releaseDates type: {0}", movieRelease.results[0].release_dates[0].type);
            Console.WriteLine("movieRelease result releaseDates date: {0}", movieRelease.results[0].release_dates[0].release_date);
            Console.WriteLine("movieRelease result releaseDates certification: {0}", movieRelease.results[0].release_dates[0].certification);
            Console.WriteLine("movieRelease result releaseDates note: {0}", movieRelease.results[0].release_dates[0].note);

            Assert.IsTrue(movieRelease != null);
        }