Class TextFragment
Represents a text node in a HTML stream.
Inherited Members
Namespace: EPiServer.HtmlParsing
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class TextFragment : HtmlFragment
Constructors
TextFragment()
Initializes a new instance of the Text
Declaration
public TextFragment()
Methods
Parse(IHtmlParserContext)
Parses the fragment from the specified context.
Declaration
public override void Parse(IHtmlParserContext context)
Parameters
Type | Name | Description |
---|---|---|
IHtml |
context | The context. |
Overrides
ToString()
Returns a System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |
Overrides
ToWriter(TextWriter)
Writes the fragment to the given TextWriter.
Declaration
public override void ToWriter(TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System. |
writer | The writer. |