C# Class Simulator.ConcurrentStreamWriter

Inheritance: IDisposable
Mostra file Open project: Microsoft/StopGuessing Class Usage Examples

Public Methods

Method Description
Close ( ) : void
ConcurrentStreamWriter ( TextWriter textWriter ) : System
ConcurrentStreamWriter ( string path, FileMode fileMode = FileMode.CreateNew, FileAccess fileAccess = FileAccess.Write ) : System
Dispose ( ) : void
Write ( string stringToWrite ) : void
WriteLine ( string stringToWrite ) : void

Private Methods

Method Description
BackgroundWritingLoop ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

ConcurrentStreamWriter() public method

public ConcurrentStreamWriter ( TextWriter textWriter ) : System
textWriter System.IO.TextWriter
return System

ConcurrentStreamWriter() public method

public ConcurrentStreamWriter ( string path, FileMode fileMode = FileMode.CreateNew, FileAccess fileAccess = FileAccess.Write ) : System
path string
fileMode FileMode
fileAccess FileAccess
return System

Dispose() public method

public Dispose ( ) : void
return void

Write() public method

public Write ( string stringToWrite ) : void
stringToWrite string
return void

WriteLine() public method

public WriteLine ( string stringToWrite ) : void
stringToWrite string
return void