C# Class Cabbage.Crawler.Core.PluginBase

Inheritance: IPlugin
Show file Open project: cabbage89/Orchard.Crawler

Public Methods

Method Description
ExecScript ( Uri crawlerUrl, string scriptFile, string method, Action completed ) : void
ExecScript ( object callbackCOMObj, Uri crawlerUrl, string scriptFile, string method, Action completed ) : void
GetScriptRoot ( ) : string
PluginBase ( ) : Cabbage.Crawler.Analysis
Start ( ) : void

Protected Methods

Method Description
GetScript ( string scriptFile ) : string

获取脚本

Method Details

ExecScript() public method

public ExecScript ( Uri crawlerUrl, string scriptFile, string method, Action completed ) : void
crawlerUrl System.Uri
scriptFile string
method string
completed Action
return void

ExecScript() public method

public ExecScript ( object callbackCOMObj, Uri crawlerUrl, string scriptFile, string method, Action completed ) : void
callbackCOMObj object
crawlerUrl System.Uri
scriptFile string
method string
completed Action
return void

GetScript() protected method

获取脚本
protected GetScript ( string scriptFile ) : string
scriptFile string 脚本文件名
return string

GetScriptRoot() public method

public GetScriptRoot ( ) : string
return string

PluginBase() public method

public PluginBase ( ) : Cabbage.Crawler.Analysis
return Cabbage.Crawler.Analysis

Start() public method

public Start ( ) : void
return void