Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method AsLookup

    AsLookup<TKey, TValue>(IReadOnlyCollectionDictionary<TKey, TValue>)

    Returns a live ILookup<TKey, TElement> view of the collection dictionary. The view reflects changes made to the underlying dictionary.

    Declaration
    public static ILookup<TKey, TValue> AsLookup<TKey, TValue>(this IReadOnlyCollectionDictionary<TKey, TValue> dictionary)
    Parameters
    Type Name Description
    IReadOnlyCollectionDictionary<TKey, TValue> dictionary
    Returns
    Type Description
    ILookup<TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue

    AsLookup<TKey, TValue>(IReadOnlyListDictionary<TKey, TValue>)

    Returns a live ILookup<TKey, TElement> view of the collection dictionary. The view reflects changes made to the underlying dictionary.

    Declaration
    public static ILookup<TKey, TValue> AsLookup<TKey, TValue>(this IReadOnlyListDictionary<TKey, TValue> dictionary)
    Parameters
    Type Name Description
    IReadOnlyListDictionary<TKey, TValue> dictionary
    Returns
    Type Description
    ILookup<TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue

    AsLookup<TKey, TValue>(IReadOnlySetDictionary<TKey, TValue>)

    Returns a live ILookup<TKey, TElement> view of the collection dictionary. The view reflects changes made to the underlying dictionary.

    Declaration
    public static ILookup<TKey, TValue> AsLookup<TKey, TValue>(this IReadOnlySetDictionary<TKey, TValue> dictionary)
    Parameters
    Type Name Description
    IReadOnlySetDictionary<TKey, TValue> dictionary
    Returns
    Type Description
    ILookup<TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue
    © Singulink. All rights reserved.