dotnet / dotnet/dotnet-api-docs

What is "the sort order"?

オープン
#976 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area-System.Runtime dotnet-api/prod Pri2 untriaged
主要言語
C#
スター
949
フォーク
1.7k
平均マージ
2日 19時間
マージ済み PR(30日)
52

説明

> indicates whether the current object is before, after, or in the same position as the specified object in the sort order.

What is "the sort order"?

I SUPPOSE (from the example) that the tuples are compared lexicographically?

If yes, might I suggest mentioning this explicitely in the docs?

IMHO it'd be better if the reader wouldn't have to infer such info from the examples or own testing but just read it...

---
#### Document Details

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

* ID: fc0ad1e6-8f64-2941-8315-0b6357ec0516
* Version Independent ID: 89251c1d-b7f5-e02d-5132-df55fac76621
* Content: [Tuple<T1,T2>.IComparable.CompareTo(Object) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.tuple-2.system-icomparable-compareto?view=netcore-2.1)
* Content Source: [xml/System/Tuple`2.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Tuple`2.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず xml/System/Tuple`2.xml と、リンク先の Tuple.IComparable.CompareTo(Object) ページを開きます。辞書式比較に関する issue の質問に照らして既存の記述を確認し、「sort order」が明示されるようにドキュメントを更新します。読者が例から推測しなくても理解できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。