C# 클래스 Microsoft.Languages.Core.Formatting.TextBuilder

파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
AppendPreformattedText ( string text ) : void
AppendSpace ( ) : void
AppendText ( char ch ) : void
AppendText ( string text ) : void
AppendTextWithWrap ( string text, int wrapLength ) : void
CloseIndentLevel ( ) : void
CopyFollowingLineBreaks ( ITextIterator iterator, int position ) : int
CopyPrecedingLineBreaks ( ITextIterator iterator, int position ) : int
HardLineBreak ( ) : void
NewIndentLevel ( ) : void
Remove ( int start, int length ) : void
SoftIndent ( ) : bool

Inserts indentation whitespace according to the current indentation level. Does nothing if line already contains text (current line length is greater than 0).

SoftLineBreak ( ) : void
TextBuilder ( IndentBuilder indentBuilder ) : System

비공개 메소드들

메소드 설명
AppendNewLine ( bool collapseWhitespace = true, bool forceAdd = false ) : void
RecentlyAddedLineBreakCount ( ) : int
TrimTrailingSpaces ( ) : void

메소드 상세

AppendPreformattedText() 공개 메소드

public AppendPreformattedText ( string text ) : void
text string
리턴 void

AppendSpace() 공개 메소드

public AppendSpace ( ) : void
리턴 void

AppendText() 공개 메소드

public AppendText ( char ch ) : void
ch char
리턴 void

AppendText() 공개 메소드

public AppendText ( string text ) : void
text string
리턴 void

AppendTextWithWrap() 공개 메소드

public AppendTextWithWrap ( string text, int wrapLength ) : void
text string
wrapLength int
리턴 void

CloseIndentLevel() 공개 메소드

public CloseIndentLevel ( ) : void
리턴 void

CopyFollowingLineBreaks() 공개 메소드

public CopyFollowingLineBreaks ( ITextIterator iterator, int position ) : int
iterator ITextIterator
position int
리턴 int

CopyPrecedingLineBreaks() 공개 메소드

public CopyPrecedingLineBreaks ( ITextIterator iterator, int position ) : int
iterator ITextIterator
position int
리턴 int

HardLineBreak() 공개 메소드

public HardLineBreak ( ) : void
리턴 void

NewIndentLevel() 공개 메소드

public NewIndentLevel ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( int start, int length ) : void
start int
length int
리턴 void

SoftIndent() 공개 메소드

Inserts indentation whitespace according to the current indentation level. Does nothing if line already contains text (current line length is greater than 0).
public SoftIndent ( ) : bool
리턴 bool

SoftLineBreak() 공개 메소드

public SoftLineBreak ( ) : void
리턴 void

TextBuilder() 공개 메소드

public TextBuilder ( IndentBuilder indentBuilder ) : System
indentBuilder IndentBuilder
리턴 System