dotnet / dotnet/command-line-api

Support `public static T Parse(string)` for extended argument Type parsing

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

Description

Several framework classes have a `public static T Parse(string)` method, but this isn't used by dragronfruit.

In particular I have noticed this with `IPAddress`, but I get the impression it's a reasonably common pattern which could be used as a 3rd option for automatic parsing after the fixed basic types and string constructors.

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.