Метод | Описание | |
---|---|---|
AppendWhen ( this sb, string value, bool predicate ) : StringBuilder |
Append a string when a predicate evaluates true.
|
|
BuildFor ( this sb, int times, StringBuilder>.Func |
Repeats a string builder operation for n times.
|
|
BuildFor ( this sb, int times, Func |
Repeats a string builder operation for n times.
|
public static AppendWhen ( this sb, string value, bool predicate ) : StringBuilder | ||
sb | this | |
value | string | String to append. |
predicate | bool | Predicate |
Результат | StringBuilder |
public static BuildFor ( this sb, int times, StringBuilder>.Func |
||
sb | this | |
times | int | Number of times to repeat. |
fn | StringBuilder>.Func | A StringBuilder function. |
Результат | StringBuilder |
public static BuildFor ( this sb, int times, Func |
||
sb | this | |
times | int | Number of times to repeat. |
fn | Func |
A StringBuilder function with index. |
Результат | StringBuilder |