示例#1
0
        protected virtual void RaiseScrapeComplete(ScrapeResponseEventArgs e)
        {
            EventHandler <ScrapeResponseEventArgs> h = ScrapeComplete;

            if (h != null)
            {
                h(this, e);
            }
        }
示例#2
0
        private void DoScrapeComplete(bool successful, object state)
        {
            ScrapeResponseEventArgs e = new ScrapeResponseEventArgs(this, state, successful);

            RaiseScrapeComplete(e);
        }