Share via


BufferingTextReader Class

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.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.TextReader
      System.Web.Razor.Text.LookaheadTextReader
        System.Web.Razor.Text.BufferingTextReader

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class BufferingTextReader _
    Inherits LookaheadTextReader
'Usage
Dim instance As BufferingTextReader
public class BufferingTextReader : LookaheadTextReader
public ref class BufferingTextReader : public LookaheadTextReader
type BufferingTextReader =  
    class 
        inherit LookaheadTextReader 
    end
public class BufferingTextReader extends LookaheadTextReader

The BufferingTextReader type exposes the following members.

Constructors

  Name Description
Public method BufferingTextReader 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.

Top

Properties

  Name Description
Protected property 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.
Public property 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. (Overrides LookaheadTextReader.CurrentLocation.)

Top

Methods

  Name Description
Public method 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. (Overrides LookaheadTextReader.BeginLookahead().)
Public method 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. (Overrides LookaheadTextReader.CancelBacktrack().)
Public method Close (Inherited from TextReader.)
Public method CreateObjRef Security Critical. (Inherited from MarshalByRefObject.)
Public method Dispose() (Inherited from TextReader.)
Protected method 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. (Overrides TextReader.Dispose(Boolean).)
Public method Equals (Inherited from Object.)
Protected method 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.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected method 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.
Public method 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. (Overrides TextReader.Peek().)
Public method 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. (Overrides TextReader.Read().)
Public method Read(Char[], Int32, Int32) (Inherited from TextReader.)
Public method ReadAsync (Inherited from TextReader.)
Public method ReadBlock (Inherited from TextReader.)
Public method ReadBlockAsync (Inherited from TextReader.)
Public method ReadLine (Inherited from TextReader.)
Public method ReadLineAsync (Inherited from TextReader.)
Public method ReadToEnd (Inherited from TextReader.)
Public method ReadToEndAsync (Inherited from TextReader.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor.Text Namespace