Click or drag to resize

CSharpParserEscapeDirectiveDelimiters Method

Escapes the CS-Script directive (e.g. //css_*) delimiters.

All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. The correct syntax would be as follows '//css_include script((today)).cs;'

Remarks
The delimiters characters are ';,(){}'.

However you should check DirectiveDelimiters for the accurate list of all delimiters.

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public static string EscapeDirectiveDelimiters(
	string text
)

Parameters

text
Type: SystemString
The text to be processed.

Return Value

Type: String

[Missing <returns> documentation for "M:CSScriptLib.CSharpParser.EscapeDirectiveDelimiters(System.String)"]

See Also