Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Struct WeakValueDictionary<TKey, TValue>.AlternateLookup<TAlternateKey>

    Provides an alternate lookup that can be used to perform operations on a WeakValueDictionary<TKey, TValue> using TAlternateKey instead of TKey.

    Namespace: Singulink.Collections
    Assembly: Singulink.Collections.Weak.dll
    Syntax
    public readonly struct WeakValueDictionary<TKey, TValue>.AlternateLookup<TAlternateKey> where TAlternateKey : notnull, allows ref struct
    Type Parameters
    Name Description
    TAlternateKey

    Properties

    Name Description
    Comparer

    Gets the equality comparer used to compare keys in the alternate lookup.

    Dictionary

    Gets the underlying dictionary associated with this alternate lookup.

    this[TAlternateKey]

    Gets the value associated wit the specified alternate key.

    Methods

    Name Description
    ContainsKey(TAlternateKey)

    Returns a value indicating whether the dictionary contains the specified alternate key.

    ContainsKey(TAlternateKey, out TKey)

    Returns a value indicating whether the dictionary contains the specified alternate key.

    Remove(TAlternateKey)

    Removes the value with the specified alternate key from the dictionary.

    Remove(TAlternateKey, out TKey, out TValue)

    Removes the value with the specified alternate key from the dictionary.

    TryGetValue(TAlternateKey, out TKey, out TValue)

    Gets the value associated with the specified alternate key.

    TryGetValue(TAlternateKey, out TValue)

    Gets the value associated with the specified alternate key.

    © Singulink. All rights reserved.