5 implementations of ILookup
System.Linq (2)
System.Linq.AsyncEnumerable (2)
System.Linq.Parallel (1)
75 references to ILookup
Aspire.Hosting (4)
Aspire.Hosting.Azure (2)
Aspire.Hosting.Tests (5)
CSharpSyntaxGenerator (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.DotNet.ApiCompatibility (1)
Microsoft.DotNet.Arcade.Sdk (1)
netstandard (1)
NuGet.Build.Tasks.Pack (2)
NuGet.Commands (1)
NuGet.Configuration (1)
NuGet.Frameworks (1)
NuGet.PackageManagement (2)
System.Core (1)
System.Linq (6)
System\Linq\Lookup.cs (4)
13public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) =>
16public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey>? comparer)
36public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) =>
39public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey>? comparer)
System.Linq.AsyncEnumerable (20)
System\Linq\ToLookupAsync.cs (20)
16/// Creates a <see cref="ILookup{TKey, TElement}"/> from an <see cref="IAsyncEnumerable{T}"/>
21/// <param name="source">The <see cref="IAsyncEnumerable{T}"/> to create a <see cref="ILookup{TKey, TElement}"/> from.</param>
25/// <returns>A <see cref="ILookup{TKey, TElement}"/> that contains keys and values.</returns>
28public static ValueTask<ILookup<TKey, TSource>> ToLookupAsync<TSource, TKey>(
39static async ValueTask<ILookup<TKey, TSource>> Impl(
64/// Creates a <see cref="ILookup{TKey, TElement}"/> from an <see cref="IAsyncEnumerable{T}"/>
69/// <param name="source">The <see cref="IAsyncEnumerable{T}"/> to create a <see cref="ILookup{TKey, TElement}"/> from.</param>
73/// <returns>A <see cref="ILookup{TKey, TElement}"/> that contains keys and values.</returns>
76public static ValueTask<ILookup<TKey, TSource>> ToLookupAsync<TSource, TKey>(
87static async ValueTask<ILookup<TKey, TSource>> Impl(
113/// Creates a <see cref="ILookup{TKey, TElement}"/> from an <see cref="IAsyncEnumerable{T}"/>
119/// <param name="source">The <see cref="IAsyncEnumerable{T}"/> to create a <see cref="ILookup{TKey, TElement}"/> from.</param>
124/// <returns>A <see cref="ILookup{TKey, TElement}"/> that contains keys and values.</returns>
127public static ValueTask<ILookup<TKey, TElement>> ToLookupAsync<TSource, TKey, TElement>(
140static async ValueTask<ILookup<TKey, TElement>> Impl(
166/// Creates a <see cref="ILookup{TKey, TElement}"/> from an <see cref="IAsyncEnumerable{T}"/>
172/// <param name="source">The <see cref="IAsyncEnumerable{T}"/> to create a <see cref="ILookup{TKey, TElement}"/> from.</param>
177/// <returns>A <see cref="ILookup{TKey, TElement}"/> that contains keys and values.</returns>
180public static ValueTask<ILookup<TKey, TElement>> ToLookupAsync<TSource, TKey, TElement>(
193static async ValueTask<ILookup<TKey, TElement>> Impl(
System.Linq.Parallel (4)
System\Linq\ParallelEnumerable.cs (4)
5112public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(
5137public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(
5191public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(
5223public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(
System.Linq.Queryable (1)