Click or drag to resize

StringParser Class

This class parses internal ${xyz} tags of #Develop. All environment variables are avaible under the name env.[NAME] where [NAME] represents the string under which it is avaiable in the environment.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesStringParser

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static class StringParser

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:
C#
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) 
Public methodStatic memberRegisterStringTagProvider(String, IStringTagProvider) 
Top
See Also