Click or drag to resize

StringParser Methods

The StringParser type exposes the following members.

Methods
 NameDescription
Public methodStatic memberEscape Escapes all occurrences of '${' to '${$}{'.
Public methodStatic memberFormat 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.
Public methodStatic memberGetValue Evaluates a property using the StringParser. Equivalent to StringParser.Parse("${" + propertyName + "}");
Public methodStatic memberParse(String) Expands ${xyz} style property values.
Public methodStatic memberParse(String, StringTagPair) Expands ${xyz} style property values.
Public methodStatic memberRegisterStringTagProvider(IStringTagProvider) Registers an unprefixed string-tag provider.
Public methodStatic memberRegisterStringTagProvider(String, IStringTagProvider) Registers a prefixed string-tag provider.
Top
See Also