private void crawl_ExternalLinksFound(object sender, ExternalLinksFoundEventArgs e)
 {
     if (_asyncOp != null && !_cancelPending)
     {
         var args = new CrawlDaddyProgressChangedEventArgs(e, 1, _asyncOp.UserSuppliedState);
         _asyncOp.Post(_onProgressReportDelegate, args);
     }
 }
Beispiel #2
0
 private static void daddy_ExternalLinksFound(object sender, ExternalLinksFoundEventArgs e)
 {
     string mssg = string.Format("External Links Found at {1}", e.CrawlerId, e.PageUri);
     Console.WriteLine(mssg);
     Console.WriteLine();
 }
 private void ReceiveArgs(ExternalLinksFoundEventArgs e)
 {
     _externalLinks.Add(string.Copy(e.PageUri.AbsoluteUri));
     OnExternalLinksFound(e.CrawlerId, e.PageUri);
 }