C# 클래스 Rhythm.Staticize.CssResourcesDownloadBehavior

提供对被爬行页面中引用的 CSS 资源的下载支持。
상속: ResourcesDownloadBaseBehavior
파일 보기 프로젝트 열기: darklx/Staticize

공개 메소드들

메소드 설명
CssResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System

보호된 메소드들

메소드 설명
GetSrcAttributes ( HtmlAgilityPack nodes ) : string[]
OnResourceParsed ( Uri resourceUris, HtmlStaticizeContext context ) : void

메소드 상세

CssResourcesDownloadBehavior() 공개 메소드

public CssResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System
outputBaseDirectory String
resourceFileReslover IUriResourcesFromLocalFileSystemReslover
리턴 System

GetSrcAttributes() 보호된 메소드

protected GetSrcAttributes ( HtmlAgilityPack nodes ) : string[]
nodes HtmlAgilityPack
리턴 string[]

OnResourceParsed() 보호된 메소드

protected OnResourceParsed ( Uri resourceUris, HtmlStaticizeContext context ) : void
resourceUris System.Uri
context HtmlStaticizeContext
리턴 void