C# Class System.IO.TextReader

Inheritance: System.MarshalByRefObject, System.IDisposable
Show file Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Null TextReader

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Read ( ) : int
Read ( char buffer, int index, int count ) : int
ReadAsync ( char buffer, int index, int count ) : Task
ReadBlock ( char buffer, int index, int count ) : int
ReadBlockAsync ( char buffer, int index, int count ) : Task
ReadLine ( ) : string
ReadLineAsync ( ) : Task
ReadToEnd ( ) : string
ReadToEndAsync ( ) : Task
Synchronized ( TextReader reader ) : TextReader

Protected Methods

Method Description
Dispose ( bool disposing ) : void
TextReader ( ) : System.Text

Private Methods

Method Description
Peek ( ) : int
ReadAsyncInternal ( char buffer, int index, int count ) : Task
ReadBlockAsyncInternal ( char buffer, int index, int count ) : Task

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Read() public method

public Read ( ) : int
return int

Read() public method

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
return int

ReadAsync() public method

public ReadAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
return Task

ReadBlock() public method

public ReadBlock ( char buffer, int index, int count ) : int
buffer char
index int
count int
return int

ReadBlockAsync() public method

public ReadBlockAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
return Task

ReadLine() public method

public ReadLine ( ) : string
return string

ReadLineAsync() public method

public ReadLineAsync ( ) : Task
return Task

ReadToEnd() public method

public ReadToEnd ( ) : string
return string

ReadToEndAsync() public method

public ReadToEndAsync ( ) : Task
return Task

Synchronized() public static method

public static Synchronized ( TextReader reader ) : TextReader
reader TextReader
return TextReader

TextReader() protected method

protected TextReader ( ) : System.Text
return System.Text

Property Details

Null public static property

public static TextReader,System.IO Null
return TextReader