StringTokenFormatter icon indicating copy to clipboard operation
StringTokenFormatter copied to clipboard

`string.ToInterpolatedString()` in v9

Open andywilsonuk opened this issue 11 months ago • 1 comments

Hi @TonyValenti, regarding string.ToInterpolatedString(), I'm removing this in v9 because 1) string it very overloaded already and 2) creating the InterpolatedString ahead of time is a pretty advanced feature which is better served by using the InterpolatedStringResolver.

I see the Resolver as the preferred way to interact with the library now as it is settings aware and all the methods are provided with the settings in context. In contrast, using the string extensions either means using the global settings or passing in the settings objects for every expansion.

Version 9 is out today.

andywilsonuk avatar Mar 10 '24 17:03 andywilsonuk

Oh, love the snazzy icon!

andywilsonuk avatar Mar 10 '24 18:03 andywilsonuk