Constructs a StayOnHostComparer from a value determining whether requests to the same host are to be prioritized and an inner BaseComparer.

Declaration Syntax

Public Sub New( _
	ByVal stayOnHost As Boolean, _
	ByVal innerComparer As BaseComparer _
)
public StayOnHostComparer(
	bool stayOnHost,
	BaseComparer innerComparer
);
public: StayOnHostComparer(
	bool stayOnHost,
	BaseComparer innerComparer
);
public function StayOnHostComparer(
	stayOnHost : Boolean,
	innerComparer : BaseComparer
);

Parameters

stayOnHost
Whether or not to set requests to the same host to be high or low priority. 
innerComparer
An inner BaseComparer used to break ties. 

Requirements

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

See Also

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