Beispiel #1
0
 public void Dispose()
 {
     _current             = null;
     _isFirstTimeMoveNext = true;
     _doublyLinkedList    = null;
 }
Beispiel #2
0
 public LinkedListEnumerator(SLinkedList <T> sLinkedList)
 {
     this._doublyLinkedList = sLinkedList;
     this._current          = sLinkedList.Head;
     this._nullCurrent      = new SLinkedListItem <T>((T)Activator.CreateInstance(typeof(T)));
 }