BadScript 2
Loading...
Searching...
No Matches
BadScript2.ConsoleAbstraction.IBadConsole Interface Reference

Interface that abstracts the console. More...

Inheritance diagram for BadScript2.ConsoleAbstraction.IBadConsole:
BadScript2.ConsoleAbstraction.BadConsole.BadDummyConsole BadScript2.ConsoleAbstraction.Implementations.BadSystemConsole BadScript2.ConsoleAbstraction.Implementations.Remote.BadNetworkConsoleHost BadScript2.Interop.NUnit.BadNUnitTestConsole BadScript2.Web.Frontend.Utils.XTermConsole

Public Member Functions

void Write (string str)
 Writes a string to the console.
 
void WriteLine (string str)
 Writes a string to the console and appends a newline.
 
string ReadLine ()
 Reads a line from the console.
 
Task< string > ReadLineAsync ()
 Reads a line from the console asynchronously.
 
void Clear ()
 Clears the console.
 

Properties

ConsoleColor ForegroundColor [get, set]
 The Foreground Color.
 
ConsoleColor BackgroundColor [get, set]
 The Background Color.
 

Detailed Description

Interface that abstracts the console.

Definition at line 12 of file IBadConsole.cs.

Member Function Documentation

◆ Clear()

◆ ReadLine()

◆ ReadLineAsync()

◆ Write()

◆ WriteLine()

void BadScript2.ConsoleAbstraction.IBadConsole.WriteLine ( string  str)

Property Documentation

◆ BackgroundColor

◆ ForegroundColor


The documentation for this interface was generated from the following file: