public RssBanditUpdateManager()
 {
     this.cancelled            = false;
     this.workDone             = new AutoResetEvent(false);
     this.appUpdateService     = new ClrMappedWebReference.UpdateService();
     this.appUpdateService.Url = Resource.OutgoingLinks.UpdateServiceUrl;
 }
        private void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (workDone != null)
                {
                    workDone.Set();
                    workDone.Dispose();
                }

                workDone = null;

                if (appUpdateService != null)
                {
                    appUpdateService.Dispose();
                }

                appUpdateService = null;
            }
        }