Blacker.Scraper.Downloader.ReportProgress C# (CSharp) Метод

ReportProgress() защищенный Метод

protected ReportProgress ( int percentComplete, string message ) : void
percentComplete int
message string
Результат void
        protected void ReportProgress(int percentComplete, string message, params object[] args)
        {
            OnDownloadProgressChanged(new DownloadProgressEventArgs()
            {
                PercentComplete = percentComplete,
                Message = String.Format(message, args)
            });

            // if there are no other tasks to do we can reset counters
            lock (_syncRoot)
            {
                if (_tasksCount == _tasksDone)
                    ResetTasks();
            }
        }

Same methods

Downloader::ReportProgress ( string message ) : void