示例#1
0
 private void crawl_DomainCrawlStarted(object sender, DomainCrawlStartedEventArgs e)
 {
     if (_asyncOp != null && !_cancelPending)
     {
         var args = new CrawlDaddyProgressChangedEventArgs(e, 1, _asyncOp.UserSuppliedState);
         _asyncOp.Post(_onProgressReportDelegate, args);
     }
 }
示例#2
0
 private void crawl_LinkCrawlCompleted(object sender, LinkCrawlCompletedArgs e)
 {
     if (_asyncOp != null && !_cancelPending)
     {
         var args = new CrawlDaddyProgressChangedEventArgs(e, 1, _asyncOp.UserSuppliedState);
         _asyncOp.Post(_onProgressReportDelegate, args);
     }
 }