6 references to DistinctBy
Aspire.Hosting.Azure (1)
AzureProvisioningResource.cs (1)
74var distinctInfrastructureParameters = infrastructureParameters.DistinctBy(p => p.BicepIdentifier);
Aspire.Hosting.Azure.Tests (2)
AzureBicepResourceTests.cs (2)
777var infrastructureParameters = moduleInfrastructure.GetParameters().DistinctBy(x => x.BicepIdentifier); 816var infrastructureParameters = moduleInfrastructure.GetParameters().DistinctBy(x => x.BicepIdentifier);
Aspire.Hosting.Dapr (1)
DaprDistributedApplicationLifecycleHook.cs (1)
106var distinctWaitAnnotationsToCopyToDaprCli = waitAnnotationsToCopyToDaprCli.DistinctBy(w => (w.Resource, w.WaitType));
Stress.ApiService (1)
TraceCreator.cs (1)
75using var activity = s_activitySource.StartActivity(ActivityKind.Client, name: name, links: links.DistinctBy(l => l.Context.SpanId));
System.Linq (1)
System\Linq\Distinct.cs (1)
37/// <para>The <see cref="DistinctBy{TSource, TKey}(IEnumerable{TSource}, Func{TSource, TKey})" /> method returns an unordered sequence that contains no duplicate values. The default equality comparer, <see cref="EqualityComparer{T}.Default" />, is used to compare values.</para>