Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
NLog
Layouts
SimpleLayout
Escape
NLog.Layouts.SimpleLayout.Escape C# (CSharp) Method
SimpleLayout Class Documentation
Exibir arquivo
Open project: NLog/NLog
Escape()
public
static
method
Escapes the passed text so that it can be used literally in all places where layout is normally expected without being treated as layout.
Escaping is done by replacing all occurrences of '${' with '${literal:text=${}'
public
static
Escape
(
string
text
) :
string
text
string
The text to be escaped.
return
string
public static string Escape(string text) { return text.Replace("${", "${literal:text=${}"); }
SimpleLayout
Escape
Evaluate
GetFormattedMessage
InitializeLayout
SetRenderers
SimpleLayout
ToString