Example #1
0
 /// <summary>
 /// 触发爬虫完成的事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void OnCompleted(object sender, OnCompletedEventArgs e)
 {
     OnCompletedEvent?.Invoke(sender, e);
 }
Example #2
0
 public void DoOnCompleted() => OnCompletedEvent?.Invoke();
Example #3
0
 /// <summary>
 /// 引发<see cref="OnCompletedEvent"/>事件
 /// </summary>
 /// <param name="args"></param>
 public void OnCompleted(OnCompletedEventArgs args)
 {
     OnCompletedEvent?.Invoke(this, args);
 }
Example #4
0
 public void OnCompleted()
 {
     OnCompletedEvent?.Invoke();
 }