Constructs a StayOnHostSelector from a selector to use if the requests stay on the same host as their parent and a selector to use if the link leaves its parent's host.

Declaration Syntax

Public Sub New( _
	ByVal sameHostSelector As LinkSelector, _
	ByVal differentHostSelector As LinkSelector _
)
public StayOnHostSelector(
	LinkSelector sameHostSelector,
	LinkSelector differentHostSelector
);
public: StayOnHostSelector(
	LinkSelector sameHostSelector,
	LinkSelector differentHostSelector
);
public function StayOnHostSelector(
	sameHostSelector : LinkSelector,
	differentHostSelector : LinkSelector
);

Parameters

sameHostSelector
A selector to use in those cases where the request stays on the same host as the parent request. 
differentHostSelector
A selector to use in those cases where the request leaves the host of the parent request. 

Requirements

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

See Also

StayOnHostSelector Class | StayOnHostSelector Members | Eas.WebCrawler.PlugIns.Selectors Namespace