ExpansionDownloader.Service.DownloaderService.ShouldStop C# (CSharp) Method

ShouldStop() protected method

Returns a value indicating whether the downloader should stop. This will return True if all the downloads are complete.
protected ShouldStop ( ) : bool
return bool
        protected override bool ShouldStop()
        {
            // the database automatically reads the metadata for version code 
            // and download status when the instance is created
            return DownloadsDatabase.DownloadStatus == ExpansionDownloadStatus.None;
        }