Exemple #1
0
        public override async Task <T> GetLibariesAsync <T>(Uri uri)
        {
            var list = new List <TvShow.MediaContainerDirectory>();
            var url  = RequestUrl(Id, start, pageSize);

            var results = await LoadData <TvShow.MediaContainer>(url, list).ConfigureAwait(true);

            var result = new TvShow.MediaContainer {
                Directory = results.ToArray()
            };

            return((T)Convert.ChangeType(result, typeof(T)));
        }