Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    MultiValueSortedDictionary<TKey, TValue>.ValueCollection.Enumerator Struct

    Namespace: Stride.Core.Collections
    Assembly: Stride.Core.dll

    Enumerates the elements of a KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.

    public struct Enumerator : IEnumerator<TValue>, IDisposable, IEnumerator
    Name Description
    Properties
    Current

    Gets the element at the current position of the enumerator.

    Methods
    Dispose()

    Releases all resources used by the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.Enumerator.

    MoveNext()

    Advances the enumerator to the next element of the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.

    Explicit Interface Implementations
    IEnumerator.Current

    Gets the element at the current position of the enumerator.

    IEnumerator.Reset()

    Sets the enumerator to its initial position, which is before the first element in the collection.

    | Improve this Doc View Source

    Properties


    Current

    Gets the element at the current position of the enumerator.

    public readonly TValue Current { get; }
    Property Value
    Type Description
    TValue

    The element in the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection at the current position of the enumerator.

    | Improve this Doc View Source

    Methods


    Dispose()

    Releases all resources used by the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.Enumerator.

    public void Dispose()

    MoveNext()

    Advances the enumerator to the next element of the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection.

    public bool MoveNext()
    Returns
    Type Description
    System.Boolean

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

    Exceptions
    Type Condition
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    | Improve this Doc View Source

    Explicit Interface Implementations


    IEnumerator.Current

    Gets the element at the current position of the enumerator.

    readonly object IEnumerator.Current { get; }
    Returns
    Type Description
    System.Object

    The element in the KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection at the current position of the enumerator.


    IEnumerator.Reset()

    Sets the enumerator to its initial position, which is before the first element in the collection.

    void IEnumerator.Reset()
    Exceptions
    Type Condition
    System.InvalidOperationException

    The collection was modified after the enumerator was created.


    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation