dotnet / dotnet/dotnet-api-docs

Order of TElements in ILookup<TKey, TElement>

Offen
#879 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area-System.Linq dotnet-api/prod Pri2 untriaged
Vorherrschende Sprache
C#
Sterne
949
Forks
1.7k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
52

Beschreibung

`GroupBy` explicitly states the order of the elements in each `IGroup`

> The IGrouping objects are yielded in an order based on the order of the elements in source that produced the first key of each IGrouping. Elements in a grouping are yielded in the order that the elements that produced them appear in source.

What is the order for `ILookup`?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: bf6b73de-2f5d-ec35-a010-c54207af6164
* Version Independent ID: b7c784b6-0318-f929-bfaa-e9fcbbd519c4
* Content: [Enumerable.ToLookup Method (System.Linq)](https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.tolookup?view=netframework-4.7.2)
* Content Source: [xml/System.Linq/Enumerable.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Linq/Enumerable.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Öffne xml/System.Linq/Enumerable.xml bei der im Issue verlinkten ToLookup-Dokumentation und vergleiche ihre aktuelle Formulierung mit der zitierten GroupBy-Garantie zur Reihenfolge. Bestätige das zutreffende ILookup-Verhalten bezüglich der Reihenfolge, aktualisiere dann die ToLookup-Dokumentation, sodass die Garantie zur Reihenfolge explizit ist, und überprüfe die gerenderte API-Seite.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.