Skip to content

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

Open
@nobledog

Description

@nobledog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions