Summary
Registers a key and a value to be used with the text transformation.
Syntax
public static TextTransformation<TTemplate> WithToken<TTemplate>(this TextTransformation<TTemplate> transformation, string key, object value)
where TTemplate : class, ITextTransformationTemplate
Type Parameters
Name |
Description |
TTemplate |
The text transformation template. |
Parameters
Name |
Type |
Description |
transformation |
TextTransformation<TTemplate> |
The text transformation. |
key |
string |
The key. |
value |
object |
The value. |
Return Value