C# Class IronRuby.Builtins.ConsoleStream

A custom Stream class that forwards calls to Console In/Out/Error based on ConsoleType
Inheritance: Stream
Afficher le fichier Open project: ExpertsInside/IronSP

Méthodes publiques

Méthode Description
ConsoleStream ( SharedIO io, ConsoleStreamType consoleType ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Method Details

ConsoleStream() public méthode

public ConsoleStream ( SharedIO io, ConsoleStreamType consoleType ) : System
io Microsoft.Scripting.Runtime.SharedIO
consoleType ConsoleStreamType
Résultat System

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void