commandlineparser / commandlineparser/commandline

Zero is not allowed in range of sequence option specifications.

Aperta
#302 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I need a way to indicate that I don't accept any Value parameters.
I tried
[Value(0, Max=0)]
public IEnumerable Items {get; set;}

but get this error. Seems like there currently is no way to say you don't want any values. min value for the Max property is 1.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.