C# Class WebNovelConverter.Sources.WebNovelSource

Afficher le fichier Open project: Mitch528/WebNovelConverter

Protected Properties

Свойство Type Description
EmptyLinks WebNovelConverter.Sources.Models.ChapterLink[]
Parser AngleSharp.Parser.Html.HtmlParser

Méthodes publiques

Méthode Description
GetChapterAsync ( ChapterLink link, ChapterRetrievalOptions options = default(ChapterRetrievalOptions), CancellationToken token = default(CancellationToken) ) : Task
GetChapterLinksAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task>
GetNovelInfoAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task
GetNovelTitleAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task

Méthodes protégées

Méthode Description
CollectChapterLinks ( string baseUrl, IEnumerable linkElements, bool>.Func linkFilter = null ) : IEnumerable
GetWebPageAsync ( string url, CancellationToken token = default(CancellationToken) ) : Task
WebNovelSource ( string sourceName ) : System

Method Details

CollectChapterLinks() protected méthode

protected CollectChapterLinks ( string baseUrl, IEnumerable linkElements, bool>.Func linkFilter = null ) : IEnumerable
baseUrl string
linkElements IEnumerable
linkFilter bool>.Func
Résultat IEnumerable

GetChapterAsync() public méthode

public GetChapterAsync ( ChapterLink link, ChapterRetrievalOptions options = default(ChapterRetrievalOptions), CancellationToken token = default(CancellationToken) ) : Task
link WebNovelConverter.Sources.Models.ChapterLink
options ChapterRetrievalOptions
token System.Threading.CancellationToken
Résultat Task

GetChapterLinksAsync() public méthode

public GetChapterLinksAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task>
baseUrl string
token System.Threading.CancellationToken
Résultat Task>

GetNovelInfoAsync() public méthode

public GetNovelInfoAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task
baseUrl string
token System.Threading.CancellationToken
Résultat Task

GetNovelTitleAsync() public méthode

public GetNovelTitleAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task
baseUrl string
token System.Threading.CancellationToken
Résultat Task

GetWebPageAsync() protected méthode

protected GetWebPageAsync ( string url, CancellationToken token = default(CancellationToken) ) : Task
url string
token System.Threading.CancellationToken
Résultat Task

WebNovelSource() protected méthode

protected WebNovelSource ( string sourceName ) : System
sourceName string
Résultat System

Property Details

EmptyLinks protected_oe static_oe property

protected static ChapterLink[],WebNovelConverter.Sources.Models EmptyLinks
Résultat WebNovelConverter.Sources.Models.ChapterLink[]

Parser protected_oe property

protected HtmlParser,AngleSharp.Parser.Html Parser
Résultat AngleSharp.Parser.Html.HtmlParser