Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Castle
MonoRail
Framework
Test
MockServerUtility
JavaScriptEscape
Castle.MonoRail.Framework.Test.MockServerUtility.JavaScriptEscape C# (CSharp) Method
MockServerUtility Class Documentation
Show file
Open project: nats/castle-1.0.3-mono
JavaScriptEscape()
public
method
Escapes JavaScript with Url encoding and returns the encoded string.
Converts quotes, single quotes and CR/LFs to their representation as an escape character.
public
JavaScriptEscape
(
string
content
) :
string
content
string
The text to URL encode and escape JavaScript within.
return
string
public virtual string JavaScriptEscape(string content) { return content; } }
MockServerUtility
HtmlEncode
JavaScriptEscape
MapPath
UrlDecode
UrlEncode
UrlPathEncode