|
| T | Current [get] |
| | Gets the current element.
|
| |
Definition at line 8 of file EnumerationWrapper.cs.
◆ EnumerationWrapper()
Initializes a new instance.
- Parameters
-
- Exceptions
-
Definition at line 20 of file EnumerationWrapper.cs.
21 {
22 _enumeration = enumeration ?? throw new ArgumentNullException(nameof(enumeration));
23 }
◆ Dispose()
◆ MoveNext()
Moves to the next instance.
- Returns
- Exceptions
-
Definition at line 40 of file EnumerationWrapper.cs.
41 {
42 if (_enumeration.hasMoreElements())
43 {
44 _current = (T)_enumeration.nextElement();
45 _position++;
46 return true;
47 }
48
49 return false;
50 }
◆ Reset()
Not supported.
- Exceptions
-
Definition at line 64 of file EnumerationWrapper.cs.
65 {
66 throw new NotSupportedException();
67 }
◆ Current
The documentation for this class was generated from the following file: