public GetDownloadInfo ( IChapterRecord chapterRecord ) : DownloadedChapterInfo | ||
chapterRecord | IChapterRecord | |
Résultat | 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);
}
LibraryManager::GetDownloadInfo ( IChapterRecord chapterRecord, bool prefetch ) : DownloadedChapterInfo | |
LibraryManager::GetDownloadInfo ( string chapterId ) : DownloadedChapterInfo |