commandlineparser / commandlineparser/commandline
IReadOnlyList<T> for options list
Ouverte
- Langage dominant
- C#
- Étoiles
- 4.8k
- Forks
- 478
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.