Share via


BufferingTextReader Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Provides a lookahead buffer for the text reader.

public class BufferingTextReader : System.Web.Razor.Text.LookaheadTextReader
type BufferingTextReader = class
    inherit LookaheadTextReader
Public Class BufferingTextReader
Inherits LookaheadTextReader
Inheritance
BufferingTextReader

Constructors

BufferingTextReader(TextReader)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the BufferingTextReader class.

Properties

CurrentCharacter

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the current character in the buffer.

CurrentLocation

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the current location of the character in the buffer.

Methods

BeginLookahead()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Begins the lookahead buffering operation for this BufferingTextReader.

CancelBacktrack()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Discards the backtrack context associated the lookahead buffering operation.

Dispose(Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Releases the unmanaged resources used by the current instance of this class, and optionally releases the managed resources.

ExpandBuffer()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Reads the next character from the text reader and appends it to the lookahead buffer.

NextCharacter()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Advances the buffer position to the next character.

Peek()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the current character in the buffer.

Read()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the current character from the buffer and advances the buffer position to the next character.

Applies to