Skip to content

PlaceholderEscape

Enum in Oadm.Sdk.Actions · Oadm.Sdk.dll

How a placeholder value is written into a text with a format, so the text stays valid.

public enum PlaceholderEscape
Name Value Description
None 0 The value as it is (plain text, an email subject).
Json 1 JSON string content: quotes, backslashes and control characters escaped (inside “…” of a JSON body).
Xml 2 & < > “ ’ escaped (XML and HTML bodies).
Url 3 Percent-encoded (URL parts, form bodies).
SingleLine 4 One line: a line break becomes a space (CR LF one space), every other control character (tabs, NUL) is removed, so a value never adds a line: the message of a text protocol where a line is a command.