dotnet / dotnet/dotnet-api-docs

What is "the sort order"?

Abierto
#976 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Lenguaje dominante
C#
Estrellas
949
Forks
1.7k
Merge medio
2 d 19 h
PR fusionados (30 d)
52

Descripción

> 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**

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza abriendo xml/System/Tuple`2.xml y la página enlazada Tuple.IComparable.CompareTo(Object). Comprueba la redacción existente en relación con la pregunta de la issue sobre la comparación lexicográfica y, a continuación, actualiza la documentación para que “sort order” quede explícito; se considera terminado cuando un lector pueda entenderlo sin tener que inferirlo a partir de los ejemplos.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
documentation
Tipo de issue
Documentación
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.