|
Joutsen
v0.4.1
|
A class that can format Strings with nummeric or named placeholders/identifiers. More...
Public Member Functions | |
| string | Format (string format, params object[] values) |
| Formats a String with numeric placeholders. More... | |
| string | Format (string format, Map< String, Object > values) |
| Formats a String with named placeholders. More... | |
| string | Format (string format, object values) |
| Formats a String with named placeholders. More... | |
A class that can format Strings with nummeric or named placeholders/identifiers.
| string Joutsen.System.StringFormatter.Format | ( | string | format, |
| params object [] | values | ||
| ) |
Formats a String with numeric placeholders.
| format | The format String |
| values | The objects that are filled into the format string according to their index in the array |
| string Joutsen.System.StringFormatter.Format | ( | string | format, |
| Map< String, Object > | values | ||
| ) |
Formats a String with named placeholders.
| format | The format String containing named placeholders |
| values | Pairs of name and value where each name is a placeholder that will be replaced with the corresponding value returns The formatted String |
| string Joutsen.System.StringFormatter.Format | ( | string | format, |
| object | values | ||
| ) |
Formats a String with named placeholders.
| format | The format String containing named placeholders |
| values | An System.Object where each property name used as a placeholder in the format String will be replaced with the properties value |
values object's property <name>. All additional formats that are supported by {System.String.Format are supported.
1.8.13