From 747f6b50346965ea0f87f9320da1f2459c7d3766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Wed, 19 Jan 2022 13:22:37 +0100 Subject: [PATCH] Expose the LastRow as a public property So that consumers can implement progression while reading an Excel file --- src/CsvHelper.Excel/ExcelParser.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CsvHelper.Excel/ExcelParser.cs b/src/CsvHelper.Excel/ExcelParser.cs index 4a95186..660d849 100644 --- a/src/CsvHelper.Excel/ExcelParser.cs +++ b/src/CsvHelper.Excel/ExcelParser.cs @@ -195,6 +195,7 @@ public Task ReadAsync() public string RawRecord => string.Join(Configuration.Delimiter, Record); public int Row => _row; public int RawRow => _rawRow; + public int LastRow => _lastRow; public string Delimiter => Configuration.Delimiter; public CsvContext Context { get; }