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