Метод | Описание | |
---|---|---|
Append ( this @this, string s, int repeatCount ) : StringBuilder |
Appends multiple time the same string.
|
|
AppendMultiLine ( this @this, string prefix, string text, bool prefixOnFirstLine, bool prefixLastEmptyLine = false ) : StringBuilder |
Appends a block of text to this StringBuilder with a prefix on each line.
|
|
AppendStrings ( this @this, IEnumerable |
Appends a set of strings with an internal separator. (This should be named 'Append' but appropriate overload is not always detected by the compiler.)
|
|
Concatenate ( this |
Concatenates multiple strings with an internal separator.
|
|
HexDigitValue ( this c ) : int |
Gets the value (0...15) for this character ('0'...'9', 'a'...'f' or 'A.'..'F'), or -1 if this is not an hexadecimal digit.
|
|
NormalizeEOL ( this @this ) : string |
Returns a string where \r\n or \n alone are normalized to Environment.NewLine.
|
|
NormalizeEOLToCRLF ( this @this ) : string |
Returns a string where \n alone are normalized to \r\n.
|
|
NormalizeEOLToLF ( this @this ) : string |
Returns a string where \r\n are normalized to \n.
|
public static Append ( this @this, string s, int repeatCount ) : StringBuilder | ||
@this | this | |
s | string | The string to repeat. Can be null. |
repeatCount | int | The number of repetition. |
Результат | StringBuilder |
public static AppendMultiLine ( this @this, string prefix, string text, bool prefixOnFirstLine, bool prefixLastEmptyLine = false ) : StringBuilder | ||
@this | this | |
prefix | string | The prefix to add. When null or empty, the text is appended as-is. |
text | string | The multiple lines text to append. Can be null or empty. |
prefixOnFirstLine | bool | True to append the prefix to the first line. False to skip this first prefix. |
prefixLastEmptyLine | bool | /// True to append the prefix to the last empty line (when the text ends with an EOL). /// By default, when text ends with a EOL, it is ignored. /// |
Результат | StringBuilder |
public static AppendStrings ( this @this, IEnumerable |
||
@this | this | |
strings | IEnumerable |
Set of strings. Can be null. |
separator | string | The separator string. |
Результат | StringBuilder |
public static Concatenate ( this |
||
@this | this |
|
separator | string | The separator string. |
Результат | string |
public static HexDigitValue ( this c ) : int | ||
c | this | This character. |
Результат | int |
public static NormalizeEOL ( this @this ) : string | ||
@this | this | |
Результат | string |
public static NormalizeEOLToCRLF ( this @this ) : string | ||
@this | this | |
Результат | string |
public static NormalizeEOLToLF ( this @this ) : string | ||
@this | this | |
Результат | string |