메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Does nothing, just satisfies ILineEncoder interface.
|
|
EncodeLine ( string s, int maxLineWidth, string tab ) : string |
Encodes the string. Unlike standard HtmlEncode, our custom version preserves spaces correctly. Also, converts tabs to "\t", and breaks lines in chunks of maxLineWidth non-breaking segments.
|
|
GetEncoderCssStream ( ) : TextReader |
Returns the CSS used by the encoder.
|
메소드 | 설명 | |
---|---|---|
SqlLineEncoder ( ) : System.Collections.Generic |
Trivial static constructor.
|
public EncodeLine ( string s, int maxLineWidth, string tab ) : string | ||
s | string | The string to encode. |
maxLineWidth | int | The maximum width. |
tab | string | Text string to replace tabs with. |
리턴 | string |