crozone / FormatWith

String extensions for named parameterized string formatting.
MIT License
73 stars 13 forks source link

Problem with GetFormatParameters() #16

Closed MauRiEEZZZ closed 4 years ago

MauRiEEZZZ commented 4 years ago

Hi,

If I run:

IEnumerable<string> parameters = "{parameter1} {parameter2} {{not a parameter}}".GetFormatParameters();
Console.WriteLine(parameters);

The console output looks like: System.Linq.Enumerable+WhereSelectEnumerableIterator`2[FormatWith.Internal.FormatToken,System.String]

Do you have any idea why?

MauRiEEZZZ commented 4 years ago

Ok forget it, :-D I know It is because you need to iterate through the Enumerable :-D