예제 #1
0
        protected virtual void DoStop(DownloadStopType stopType)
        {
            lock (this.monitor)
            {
                this.stopping = true;
            }

            this.OnStop();

            if (stopType == DownloadStopType.WithNotification)
            {
                this.OnDownloadStopped(new DownloadEventArgs(this));
            }
        }
예제 #2
0
        protected virtual void DoStop(DownloadStopType stopType)
        {
            lock (this.monitor)
            {
                this.stopping = true;
            }

            this.OnStop();

            if (stopType == DownloadStopType.WithNotification)
            {
                this.OnDownloadStopped(new DownloadEventArgs(this));
            }
        }