protected virtual void DoStop(DownloadStopType stopType) { lock (this.monitor) { this.stopping = true; } this.OnStop(); if (stopType == DownloadStopType.WithNotification) { this.OnDownloadStopped(new DownloadEventArgs(this)); } }
protected virtual void DoStop(DownloadStopType stopType) { lock (this.monitor) { this.stopping = true; } this.OnStop(); if (stopType == DownloadStopType.WithNotification) { this.OnDownloadStopped(new DownloadEventArgs(this)); } }