Using Dictionaries
A convenience method AddVariables
can be
used to quickly add a dictionary of variables as shown below:
Note
The default value formatter will ToString
all object values.
A null
value results in an empty string being substituted.
See here for customisation of this behaviour.