protected virtual void RaiseScrapeComplete(ScrapeResponseEventArgs e) { EventHandler <ScrapeResponseEventArgs> h = ScrapeComplete; if (h != null) { h(this, e); } }
private void DoScrapeComplete(bool successful, object state) { ScrapeResponseEventArgs e = new ScrapeResponseEventArgs(this, state, successful); RaiseScrapeComplete(e); }