Blacker.MangaScraper.Library.DAL.StorageDAL.LoadDownloadInfoFromDataRow C# (CSharp) Method

LoadDownloadInfoFromDataRow() private static method

private static LoadDownloadInfoFromDataRow ( DataRow row, ChapterRecord chapter ) : DownloadedChapterInfo
row System.Data.DataRow
chapter Blacker.MangaScraper.Library.Models.ChapterRecord
return DownloadedChapterInfo
        private static DownloadedChapterInfo LoadDownloadInfoFromDataRow(DataRow row, ChapterRecord chapter)
        {
            return new DownloadedChapterInfo(chapter)
                       {
                           Path = row["Path"] as string,
                           Downloaded = Convert.ToDateTime(row["Downloaded"]),
                           DownloadFolder = row["DownloadFolder"] as string,
                           DownloadFormatProviderId = (Guid) row["FormatProviderId"]
                       };
        }