C# Class System.StringBuilderExtensions

Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Méthode Description
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

Method Details

AppendIf() public static méthode

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
Résultat StringBuilder

Clear() public static méthode

Clears the current contents of this StringBuilder
public static Clear ( this builder ) : void
builder this
Résultat void