C# Class Rhythm.Staticize.JavascriptResourcesDownloadBehavior

提供对被爬行页面中引用的 Javascript 资源的下载支持。
Inheritance: ResourcesDownloadBaseBehavior
Show file Open project: darklx/Staticize

Public Methods

Method Description
JavascriptResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System

Protected Methods

Method Description
OnResourceParsed ( Uri resourceUris, HtmlStaticizeContext context ) : void

Method Details

JavascriptResourcesDownloadBehavior() public method

public JavascriptResourcesDownloadBehavior ( String outputBaseDirectory, IUriResourcesFromLocalFileSystemReslover resourceFileReslover = null ) : System
outputBaseDirectory String
resourceFileReslover IUriResourcesFromLocalFileSystemReslover
return System

OnResourceParsed() protected method

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