protected virtual void RaiseScrapeComplete(ScrapeResponseEventArgs e)
        {
            EventHandler <ScrapeResponseEventArgs> h = ScrapeComplete;

            if (h != null)
            {
                h(this, e);
            }
        }
 private void OnScrapeComplete(object sender, ScrapeResponseEventArgs e)
 {
     e.Id.WaitHandle.Set();
 }
        private void DoScrapeComplete(bool successful, object state)
        {
            ScrapeResponseEventArgs e = new ScrapeResponseEventArgs(this, state, successful);

            RaiseScrapeComplete(e);
        }