Show / Hide Table of Contents

Class MySinglyLinkedList<V>.Enumerator

Inheritance
System.Object
MySinglyLinkedList<V>.Enumerator
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public sealed class Enumerator : ValueType, IEnumerator<V>, IEnumerator, IDisposable

Constructors

Enumerator(MySinglyLinkedList<V>)

Declaration
public Enumerator(MySinglyLinkedList<V> parentList)
Parameters
Type Name Description
MySinglyLinkedList<V> parentList

Properties

Current

Declaration
public V Current { get; }
Property Value
Type Description
V

HasCurrent

Declaration
public bool HasCurrent { get; }
Property Value
Type Description
System.Boolean

Methods

Dispose()

Declaration
public void Dispose()

InsertBeforeCurrent(V)

Declaration
public void InsertBeforeCurrent(V toInsert)
Parameters
Type Name Description
V toInsert

MoveNext()

Declaration
public bool MoveNext()
Returns
Type Description
System.Boolean

RemoveCurrent()

Declaration
public V RemoveCurrent()
Returns
Type Description
V

Reset()

Declaration
public void Reset()
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾