Method Render
Render(string, IWorkflowScope)
Renders a template: every {{ expression }} is replaced by its value as text; the rest
is kept as written.
public static string Render(string template, IWorkflowScope scope)
Parameters
templatestringThe template.
scopeIWorkflowScopeThe values its placeholders read.
Returns
- string
The rendered text.
Exceptions
- FormatException
Thrown when a placeholder cannot be read.