C# Класс System.StringBuilderExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
AppendIf ( this builder, bool condition, object value ) : StringBuilder

Appends an Object to this string builder if the condition is true.

Clear ( this builder ) : void

Clears the current contents of this StringBuilder

Описание методов

AppendIf() публичный статический метод

Appends an Object to this string builder if the condition is true.
public static AppendIf ( this builder, bool condition, object value ) : StringBuilder
builder this
condition bool Indicates whether we append this object to the end of this StringBuilder
value object The value to append
Результат StringBuilder

Clear() публичный статический метод

Clears the current contents of this StringBuilder
public static Clear ( this builder ) : void
builder this
Результат void