From 3f4d7f45b7f73ec0da32cc0a5d071b7a3a1e9aa1 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 7 Apr 2023 09:26:52 +0300 Subject: Delete Excel.Extensions --- RhSolutions.ExcelExtensions/RowsEnumerator.cs | 52 --------------------------- 1 file changed, 52 deletions(-) delete mode 100644 RhSolutions.ExcelExtensions/RowsEnumerator.cs (limited to 'RhSolutions.ExcelExtensions/RowsEnumerator.cs') diff --git a/RhSolutions.ExcelExtensions/RowsEnumerator.cs b/RhSolutions.ExcelExtensions/RowsEnumerator.cs deleted file mode 100644 index 4d68a9c..0000000 --- a/RhSolutions.ExcelExtensions/RowsEnumerator.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Collections; - -namespace RhSolutions.ExcelExtensions; - -public class RowsEnumerator : IEnumerator -{ - private Rows _rows; - private int position = -1; - object IEnumerator.Current - { - get - { - return Current; - } - } - - public Row Current - { - get - { - try - { - return _rows[position]; - } - catch (IndexOutOfRangeException) - { - throw new InvalidOperationException(); - } - } - } - - public RowsEnumerator(Rows rows) - { - _rows = rows; - } - - public bool MoveNext() - { - position++; - return (position < _rows.Length); - } - - public void Reset() - { - position = -1; - } - - public void Dispose() - { - - } -} \ No newline at end of file -- cgit v1.2.3