C# Класс MS.Internal.Xml.Cache.XPathDocumentBuilder.TextBlockBuilder

This class concatenates adjacent text blocks and tracks TextBlockType and line number information.
Показать файл Открыть проект

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

Метод Описание
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