Пример #1
0
 public UrlFinderPipeline(UrlFinderOptons options) : base(options)
 {
     if (Options.Scheduler == null)
     {
         Options.Scheduler = SchedulerManager.GetSiteScheduler(nameof(UrlFinderPipeline));
     }
 }
Пример #2
0
 public CnieltsPipeline1(PipelineOptions options) : base(options)
 {
     _downloadPageScheduler = SchedulerManager.GetScheduler <Scheduler <string> >("downloadPageScheduler");
     Options.Scheduler      = SchedulerManager.GetSiteScheduler("CnieltsPipeline1");
 }
Пример #3
0
 public CnieltsPipeline1()
 {
     _scheduler  = SchedulerManager.GetSiteScheduler("CnieltsPipeline1");
     _downloader = new HttpDownloader();
 }