Class PortListEnum<T>
Class PortListEnum. Implements the IEnumerator<T>
Namespace: Mechatronics.SystemGraph
Syntax
public class PortListEnum<T> : IEnumerator<T>, IDisposable, IEnumerator
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
PortListEnum(PortList<T>)
Initializes a new instance of the PortListEnum<T> class.
Declaration
public PortListEnum(PortList<T> lst)
Parameters
| Type | Name | Description |
|---|---|---|
| PortList<T> | lst | The LST. |
Fields
internalLst
The internal list.
Declaration
public PortList<T> internalLst
Field Value
| Type | Description |
|---|---|
| PortList<T> |
Properties
Current
Gets the current value.
Declaration
public T Current { get; }
Property Value
| Type | Description |
|---|---|
| T | The current value. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException |
Methods
Dispose()
Disposes this instance.
Declaration
public void Dispose()
MoveNext()
Moves to next.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| Boolean |
|
Reset()
Resets this instance.
Declaration
public void Reset()
See Also
IEnumerator<T>