commandlineparser / commandlineparser/commandline

IReadOnlyList<T> for options list

Abierto
#668 3 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
4.8k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'd like to suggest list options support more than just `IEnumerable` properties. `IEnumerable` is not a great choice for list properties because it hides information about the underlying collection (order, count).

Adding support for `IReadOnlyList` would be very helpful because it is both ordered (supports an indexer), and has a count. Support for arrays, `ICollection`, `List`, `IList`, `IReadOnlyCollection` are also things that could be considered.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.