Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Struct WeakList<T>.NodeEnumerator

    Enumerates the nodes in a WeakList<T>.

    Namespace: Singulink.Collections
    Assembly: Singulink.Collections.Weak.dll
    Syntax
    public struct WeakList<T>.NodeEnumerator
    Remarks

    Enumerators are safe to use while other threads modify the list. All nodes are enumerated, including nodes whose values have been garbage collected but have not yet been removed from the list. They can move in both directions, and moving past either end of the list wraps around to the other end.

    Properties

    Name Description
    Current

    Gets the node at the current position of the enumerator.

    WasAddedDuringEnumeration

    Gets a value indicating whether the node at the current position was added to the list after the enumerator was created.

    Methods

    Name Description
    AsEnumerable(bool, bool)

    Returns an enumerable that continues this enumeration from its current position.

    MoveNext()

    Advances the enumerator to the next node in the list.

    MovePrevious()

    Moves the enumerator to the previous node in the list.

    © Singulink. All rights reserved.