String |
The StringParser type exposes the following members.
| Name | Description | |
|---|---|---|
| Escape | Escapes all occurrences of '${' to '${$}{'. | |
| Format |
Applies the StringParser to the formatstring; and then calls string.Format on the result.
This method is equivalent to:
return string.Format(StringParser.Parse(formatstring), formatitems);
but additionally includes error handling.
| |
| GetValue | Evaluates a property using the StringParser. Equivalent to StringParser.Parse("${" + propertyName + "}"); | |
| Parse(String) | Expands ${xyz} style property values. | |
| Parse(String, StringTagPair) | Expands ${xyz} style property values. | |
| RegisterStringTagProvider(IStringTagProvider) | Registers an unprefixed string-tag provider. | |
| RegisterStringTagProvider(String, IStringTagProvider) | Registers a prefixed string-tag provider. |