Class LinkedListEnumerator<T>
A linked list enumerator.
Inheritance
System.Object
LinkedListEnumerator<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class LinkedListEnumerator<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
LinkedListEnumerator(LinkedListNode<T>)
Initializes a new instance of the LinkedListEnumerator<T> class.
Declaration
public LinkedListEnumerator(LinkedListNode<T> root)
Parameters
Type | Name | Description |
---|---|---|
LinkedListNode<T> | root | The root node. |
Properties
Current
Gets the current value.
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T |
CurrentNode
Gets the current node.
Declaration
public LinkedListNode<T> CurrentNode { get; }
Property Value
Type | Description |
---|---|
LinkedListNode<T> |
Methods
MoveNext()
Moves to the next node.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
Reset()
Resets this instance.
Declaration
public void Reset()