示例#1
0
        public AnimeListData ParsePreviousPage()
        {
            if (PreviousPageLink == null)
            {
                throw new Exception("Cannot parse previous page because it does not exist!");
            }

            return(AnimeListParser.Parse(NextPageLink.Path));
        }
示例#2
0
        public async Task <AnimeListData> ParsePreviousPageAsync()
        {
            if (PreviousPageLink == null)
            {
                throw new Exception("Cannot parse previous page because it does not exist!");
            }

            return(await AnimeListParser.ParseAsync(NextPageLink.Path));
        }