Joseph Musser

Results 395 comments of Joseph Musser

> Either way, I don't think this should hold up any conversation about a placeholder syntax (or lack thereof) to denote a generic type argument that is inferred. Certainly not....

Would this partially mitigate https://github.com/dotnet/csharplang/issues/129? I've been running up against this one a lot.

One thing to be aware of with FormattableString. If you manually create a variable and don't explicitly type it as FormattableString, C# prefers the type `string` which means the templated...

It doesn't appear to be possible to manually create and handle hyperlinks. This is something we'll need before we can move away from our custom implementation. Is this issue tracking...

@RussKie Is there enough information on it that the community can help with that, or are we blocked waiting for an internal team?

That's great! Are you looking for API ideas, or do already have some concept of the shape it should be? If the former, do you have notes on the pitfalls...

@RussKie How about an API roughly like this? ```cs // No need to specify href since it's basically just a note to yourself in the form of a string tag....

@nikeee What would work best for translations, having format strings with required tags? `Plain text (automatically escaped for you if necessary) followed by {0:a link}, and then {1:another link}.` `Sadly...

New proposal because I agree that breaking into segments makes localization painful. This localizes the link display text in the same localization unit as the whole message: ```cs var firstLink...

However, there will probably people who want to build the text programmatically by segments (I've done this recently), and they shouldn't have to create a format string in order to...