[Feature request] Backport FormattableString/FormattableStringFactory
See original GitHub issueMissing in net 4.5 and earlier. Use case (taken from Meziantou’s blog post):
string EscapeCommandLineArgs(FormattableString formattableString)
{
var args = formattableString.GetArguments()
.Select(arg => CommandLineBuilder.WindowsQuotedArgument(string.Format("{0}", arg)))
.ToArray();
return string.Format(formattableString.Format, args);
}
...
var arg1 = "c:\\Program Files\\whoami.exe";
var arg2 = "Gérald Barré";
var commandLine = EscapeCommandLineArgs($"{arg1} {arg2}"); // "c:\Program Files\whoami.exe" "Gérald Barré"
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
UbuntuBackports - Community Help Wiki
When a package which has been backported receives a security update, it is the responsibility of the person who requested and performed the ......
Read more >Backporting - Moodle Developer Resources
Process for requesting a non bug-fix backport. Improvements or new features can be requested to be backported to the stable branches.
Read more >A CLI tool that automates the process of backporting commits.
A simple CLI tool that automates the process of backporting commits on a GitHub repo ... The commit will be cherrypicked, pushed and...
Read more >What is Backporting? The Process & How It Works
Backporting is when a software patch or update is taken from a recent software version and applied to an older version of the...
Read more >What is backporting and how does it affect Red Hat ...
One of these features changed the module interface. In this case, if Red Hat issued a security update with version 2.0.43 of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nuget Version 3.1.1
Can confirm it works:)