TemplateVariableProcessor Class

Utility methods for handling strings contatining embedded variables of the form $(VariableName).

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public static class TemplateVariableProcessor
Inheritance
Object    TemplateVariableProcessor

Methods

IsMatch Check whether the input string matches the template. See remarks.
Replace(String, TemplateVariableMapper) Replaces variables occurring in input as specified by valueMapper. Only single-line strings are supported.
Replace(String, DictionaryString, String) Utility overload for Replace(String, TemplateVariableMapper).

See Also