Interface IHtmlSource

The interface for reading from a HTML source stream.

Namespace: EPiServer.HtmlParsing
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public interface IHtmlSource

Methods

Peek()

Peeks at the next character from the source.

Declaration
char Peek()
Returns
Type Description
System.Char

The next character. If End-Of-Stream reached, returns 0xffff

Pushback(Char)

Push back the specified character.

Declaration
void Pushback(char character)
Parameters
Type Name Description
System.Char character

The character.

Remarks

The pushback supports at least 64 characters in the pushback buffer.

Read()

Reads the next character from the source.

Declaration
char Read()
Returns
Type Description
System.Char

The next character. If End-Of-Stream reached, returns 0xffff