diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-04-07 09:26:52 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-04-07 09:26:52 +0300 |
commit | 3f4d7f45b7f73ec0da32cc0a5d071b7a3a1e9aa1 (patch) | |
tree | b4b4b28a4828b4c4f55901a5b81e08778ded7b20 /RhSolutions.ExcelExtensions/ColumnsEnumerator.cs | |
parent | 6acba1a542d98f50e9bdaa986d81024623aeeffd (diff) |
Delete Excel.Extensions
Diffstat (limited to 'RhSolutions.ExcelExtensions/ColumnsEnumerator.cs')
-rw-r--r-- | RhSolutions.ExcelExtensions/ColumnsEnumerator.cs | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/RhSolutions.ExcelExtensions/ColumnsEnumerator.cs b/RhSolutions.ExcelExtensions/ColumnsEnumerator.cs deleted file mode 100644 index 40ad4d6..0000000 --- a/RhSolutions.ExcelExtensions/ColumnsEnumerator.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Collections; - -namespace RhSolutions.ExcelExtensions; - -public class ColumnsEnumerator: IEnumerator<Column> -{ - private Columns _columns; - private int position = -1; - object IEnumerator.Current - { - get - { - return Current; - } - } - - public Column Current - { - get - { - try - { - return _columns[position]; - } - catch (IndexOutOfRangeException) - { - throw new InvalidOperationException(); - } - } - } - - public ColumnsEnumerator(Columns columns) - { - _columns = columns; - } - - public bool MoveNext() - { - position++; - return (position < _columns.Length); - } - - public void Reset() - { - position = -1; - } - - public void Dispose() - { - - } -}
\ No newline at end of file |