Constructs a SpecificHostComparer from the name of the target host, whether or not to prefer requests to the target host and the inner comparer to use for ties.

Declaration Syntax

Public Sub New( _
	ByVal hostName As String, _
	ByVal preferToStayOnHost As Boolean, _
	ByVal innerComparer As BaseComparer _
)
public SpecificHostComparer(
	string hostName,
	bool preferToStayOnHost,
	BaseComparer innerComparer
);
public: SpecificHostComparer(
	String hostName,
	bool preferToStayOnHost,
	BaseComparer innerComparer
);
public function SpecificHostComparer(
	hostName : String,
	preferToStayOnHost : Boolean,
	innerComparer : BaseComparer
);

Parameters

hostName
The target host's name. 
preferToStayOnHost
Whether or not to prioritize requests to the specified host above (
true
) or below(
false
) other request. 
innerComparer
The inner host who breaks ties in priority. 

Requirements

Namespace: Eas.WebCrawler.PlugIns.RequestComparers
Assembly: Eas.WebCrawler.PlugIns (eas.webcrawler.plugins.dll)

See Also

SpecificHostComparer Class | SpecificHostComparer Members | Eas.WebCrawler.PlugIns.RequestComparers Namespace