Is there a (simple/predefined) way to use the same string.format
mechanism but use names instead of numbers? I want to use the same formatting system but make it more end-user friendly. Right now my users are putting in {0} {1:Minutes}
after selecting what parameters they want to use from a list but it becomes quite unreadable and confusing once you start using more then say 2 parameters.
For example want to do {Now}
and {Now:Minutes}
and have it replaced with DateTime.Now for {Now}
and DateTime.Now.Minutes
using the IFormattable for {Now:Minutes}
. So that the users won't need to select items from a list anymore but rather just type/insert the names of the parameters.