dotnet / dotnet/command-line-api

Make GetValueForHandlerParameter public

Open
#1,770 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

If we are now required to write extension methods to allow for injected parameters (from beta 4), and get the values for the IValueDescriptors, having GetValueForHandlerParameter to be public, or an extension method would be useful. At this stage I am copying in the implementation into each project to facilitate this.

https://github.com/dotnet/command-line-api/blob/eaad2347f04f6a467d0ac02793bc4ed1d64889ca/src/System.CommandLine/Handler.cs#L11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.