메소드 | 설명 | |
---|---|---|
GetCharEscapeFlags ( StringEscapeHandling stringEscapeHandling, char quoteChar ) : bool[] | ||
ShouldEscapeJavaScriptString ( string s, bool charEscapeFlags ) : bool | ||
ToEscapedJavaScriptString ( string value, char delimiter, bool appendDelimiters, StringEscapeHandling stringEscapeHandling ) : string | ||
WriteEscapedJavaScriptString ( TextWriter writer, string s, char delimiter, bool appendDelimiters, bool charEscapeFlags, StringEscapeHandling stringEscapeHandling, IArrayPool |
메소드 | 설명 | |
---|---|---|
JavaScriptUtils ( ) : System |
public static GetCharEscapeFlags ( StringEscapeHandling stringEscapeHandling, char quoteChar ) : bool[] | ||
stringEscapeHandling | StringEscapeHandling | |
quoteChar | char | |
리턴 | bool[] |
public static ShouldEscapeJavaScriptString ( string s, bool charEscapeFlags ) : bool | ||
s | string | |
charEscapeFlags | bool | |
리턴 | bool |
public static ToEscapedJavaScriptString ( string value, char delimiter, bool appendDelimiters, StringEscapeHandling stringEscapeHandling ) : string | ||
value | string | |
delimiter | char | |
appendDelimiters | bool | |
stringEscapeHandling | StringEscapeHandling | |
리턴 | string |
public static WriteEscapedJavaScriptString ( TextWriter writer, string s, char delimiter, bool appendDelimiters, bool charEscapeFlags, StringEscapeHandling stringEscapeHandling, IArrayPool |
||
writer | TextWriter | |
s | string | |
delimiter | char | |
appendDelimiters | bool | |
charEscapeFlags | bool | |
stringEscapeHandling | StringEscapeHandling | |
bufferPool | IArrayPool |
|
writeBuffer | char | |
리턴 | void |