C# 클래스 MS.Internal.Xml.Cache.XPathDocumentBuilder.TextBlockBuilder

This class concatenates adjacent text blocks and tracks TextBlockType and line number information.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0

공개 메소드들

메소드 설명
Initialize ( IXmlLineInfo lineInfo ) : void

Constructor.

ReadText ( ) : string

Read all cached text, or string.Empty if no text has been cached, and clear the text block type.

WriteTextBlock ( string text, TextBlockType textType ) : void

Append a text block with the specified type.

메소드 상세

Initialize() 공개 메소드

Constructor.
public Initialize ( IXmlLineInfo lineInfo ) : void
lineInfo IXmlLineInfo
리턴 void

ReadText() 공개 메소드

Read all cached text, or string.Empty if no text has been cached, and clear the text block type.
public ReadText ( ) : string
리턴 string

WriteTextBlock() 공개 메소드

Append a text block with the specified type.
public WriteTextBlock ( string text, TextBlockType textType ) : void
text string
textType TextBlockType
리턴 void