C# Class CSharpUtils.ConsoleUtils

Exibir arquivo Open project: soywiz/csharputils

Public Methods

Method Description
CaptureError ( System.Action Action, bool Capture = true ) : String
CaptureOutput ( System.Action Action, bool Capture = true ) : String
SaveRestoreConsoleColor ( ConsoleColor Color, System.Action Action ) : void
SaveRestoreConsoleState ( System.Action Action ) : void

Method Details

CaptureError() public static method

public static CaptureError ( System.Action Action, bool Capture = true ) : String
Action System.Action
Capture bool
return String

CaptureOutput() public static method

public static CaptureOutput ( System.Action Action, bool Capture = true ) : String
Action System.Action
Capture bool
return String

SaveRestoreConsoleColor() public static method

public static SaveRestoreConsoleColor ( ConsoleColor Color, System.Action Action ) : void
Color ConsoleColor
Action System.Action
return void

SaveRestoreConsoleState() public static method

public static SaveRestoreConsoleState ( System.Action Action ) : void
Action System.Action
return void