C# Класс SimpleFramework.Xml.Stream.StreamReader.Text

The Text object is used to represent a text event. If wraps a node that holds text consumed from the document. These are used by InputNode objects to extract the text values for elements For debugging this exposes the node.
Наследование: EventToken
Показать файл Открыть проект

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

Метод Описание
IsText ( ) : bool

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.

Text ( XmlReader reader ) : System.Collections.Generic

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.

Описание методов

IsText() публичный Метод

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.
public IsText ( ) : bool
Результат bool

Text() публичный Метод

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.
public Text ( XmlReader reader ) : System.Collections.Generic
reader System.Xml.XmlReader
Результат System.Collections.Generic