Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing overloads in the System.CommandLine.Handler.SetHandler extension methods #10846

Open
nobledog opened this issue Jan 16, 2025 · 1 comment
Labels
area-System.Runtime untriaged New issue has not been triaged by the area owner

Comments

@nobledog
Copy link

Type of issue

Other (describe below)

Description

In the open source Handler.Func.cs file the definitions for methods of the from public static void SetHandler<T1, T2, ..., Tn>(...) only run up to T8 while the documentation shows them running up to T16. Too bad for me, I wrote a call that required 10 such parameters.

I am not sure whether it would be better to leave my feedback to this or add the missing methods and put it in a pull request. Happy to do that. Please let me know. For now I will code up a workaround.

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.commandline.handler.sethandler?view=system-commandline#system-commandline-handler-sethandler(system-commandline-command-system-action)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.CommandLine/Handler.xml

Document Version Independent Id

5737109f-d286-b752-0c0d-122a2cf74e34

Article author

@dotnet-bot

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 16, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant