C# Class Rhythm.Staticize.CssResourcesDownloadBehavior

提供对被爬行页面中引用的 CSS 资源的下载支持。
Inheritance: ResourcesDownloadBaseBehavior
Afficher le fichier Open project: darklx/Staticize

Méthodes publiques

Méthode Description
CssResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System

Méthodes protégées

Méthode Description
GetSrcAttributes ( HtmlAgilityPack nodes ) : string[]
OnResourceParsed ( Uri resourceUris, HtmlStaticizeContext context ) : void

Method Details

CssResourcesDownloadBehavior() public méthode

public CssResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System
outputBaseDirectory String
resourceFileReslover IUriResourcesFromLocalFileSystemReslover
Résultat System

GetSrcAttributes() protected méthode

protected GetSrcAttributes ( HtmlAgilityPack nodes ) : string[]
nodes HtmlAgilityPack
Résultat string[]

OnResourceParsed() protected méthode

protected OnResourceParsed ( Uri resourceUris, HtmlStaticizeContext context ) : void
resourceUris System.Uri
context HtmlStaticizeContext
Résultat void