Share via


TextBufferReader Class

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

Provides a reader for text buffer.

Inheritance Hierarchy

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

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

Syntax

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

The TextBufferReader type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property CurrentLocation This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current location of the text 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 reading the current text buffer. (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.Cancels backtrack. (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 TextBufferReader class and optionally releases the managed resources. (Overrides TextReader.Dispose(Boolean).)
Public method Equals (Inherited from Object.)
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.)
Public method Peek This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the next text buffer to read. (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.Reads the current text buffer. (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