API methods reimplemented for DTLib.Web
This commit is contained in:
@@ -23,7 +23,7 @@ namespace ParadoxSaveParser.Lib;
|
||||
///
|
||||
/// Console.Write($"| {cur.Value} |");
|
||||
///
|
||||
/// for (var next = cur.Next; next != null; next = next.Next)
|
||||
/// for (var next = cur.Next; next is not null; next = next.Next)
|
||||
/// Console.Write($" {next.Value}");
|
||||
/// Console.WriteLine();
|
||||
/// }
|
||||
@@ -64,8 +64,8 @@ public class BufferedEnumerator<T> : IEnumerator<LinkedListNode<T>>
|
||||
return false;
|
||||
|
||||
_currentNodeIndex++;
|
||||
_currentNode = _currentNode == null ? _llist.First : _currentNode.Next;
|
||||
return _currentNode != null;
|
||||
_currentNode = _currentNode is null ? _llist.First : _currentNode.Next;
|
||||
return _currentNode is not null;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
|
||||
Reference in New Issue
Block a user