C# 클래스 System.StringBuilderExtensions

파일 보기 프로젝트 열기: BF2Statistics/ControlCenter

공개 메소드들

메소드 설명
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