Summary
Registers all keys and values in the enumerable for text transformation.
Syntax
public static TextTransformation<TTemplate> WithTokens<TTemplate>(this TextTransformation<TTemplate> transformation, IEnumerable<KeyValuePair<string, object>> tokens)
where TTemplate : class, ITextTransformationTemplate
Type Parameters
Name |
Description |
TTemplate |
The text transformation template. |
Parameters
Name |
Type |
Description |
transformation |
TextTransformation<TTemplate> |
The text transformation. |
tokens |
IEnumerable<KeyValuePair<string, object>> |
The tokens. |
Return Value