Search Results for

    Show / Hide Table of Contents

    Struct PriorityQueue<TElement, TPriority>.UnorderedItemsCollection.Enumerator

    Enumerates the element and priority pairs of a PriorityQueue<TElement, TPriority>, without any ordering guarantees.

    Namespace: GGL.Collections
    Assembly: GGL.dll
    Syntax
    public struct PriorityQueue<TElement, TPriority>.UnorderedItemsCollection.Enumerator

    Properties

    | Edit this page View Source

    Current

    Gets the element at the current position of the enumerator.

    Declaration
    public (TElement Element, TPriority Priority) Current { get; }
    Property Value
    Type Description
    (TElement Element, TPriority Priority) Enumerates the element and priority pairs of a , without any ordering guarantees.

    Methods

    | Edit this page View Source

    Dispose()

    Releases all resources used by the PriorityQueue<TElement, TPriority>.UnorderedItemsCollection.Enumerator.

    Declaration
    public void Dispose()
    | Edit this page View Source

    MoveNext()

    Advances the enumerator to the next element of the UnorderedItems.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

    true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX