commandlineparser / commandlineparser/commandline

Allow private property options

Offen
#830 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Beansprucht von @Saalvage Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I think that private properties should be considered when reflecting to get all option properties.

This would allow for exposing a different interface for specifying options to the CLI and the code, which can often be beneficial.

It is already possible for the library to use a public property with a private `init`/`set` so this seems more like an oversight than anything else.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.