Blacker.MangaScraper.Library.LibraryManager.GetDownloadInfo C# (CSharp) Method

GetDownloadInfo() public method

public GetDownloadInfo ( IChapterRecord chapterRecord ) : DownloadedChapterInfo
chapterRecord IChapterRecord
return DownloadedChapterInfo
        public DownloadedChapterInfo GetDownloadInfo(IChapterRecord chapterRecord)
        {
            if (chapterRecord == null)
                throw new ArgumentNullException("chapterRecord");

            if (String.IsNullOrEmpty(chapterRecord.ChapterId))
                throw new ArgumentException("Invalid chapter record, chapter id must not be null or empty.", "chapterRecord");

            return _storage.GetChapterInfo(chapterRecord.ChapterId);
        }

Same methods

LibraryManager::GetDownloadInfo ( IChapterRecord chapterRecord, bool prefetch ) : DownloadedChapterInfo
LibraryManager::GetDownloadInfo ( string chapterId ) : DownloadedChapterInfo