Ejemplo n.º 1
0
        public EpisodesPageData GetEpisodesPage()
        {
            if (m_episodes != null)
            {
                return(m_episodes);
            }

            if (m_header.Episodes == null)
            {
                throw new Exception("There's no episodes page for this anime.");
            }

            m_episodes = Episodes.Parse(m_header.Link_Episodes.Path);
            return(m_episodes);
        }
Ejemplo n.º 2
0
        public async Task <EpisodesPageData> GetEpisodesPageAsync()
        {
            if (m_episodes != null)
            {
                return(m_episodes);
            }

            if (m_header.Episodes == null)
            {
                throw new Exception("There's no episodes page for this anime.");
            }

            m_episodes = await Episodes.ParseAsync(m_header.Link_Episodes.Path);

            return(m_episodes);
        }