Class ConsoleImpl
Inheritance
System.Object
ConsoleImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.System2_Plugs.dll
Syntax
public static class ConsoleImpl
Properties
|
Improve this Doc
View Source
BackgroundColor
Declaration
public static ConsoleColor BackgroundColor { get; set; }
Property Value
Type |
Description |
ConsoleColor |
|
|
Improve this Doc
View Source
BufferHeight
Declaration
public static int BufferHeight { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
BufferWidth
Declaration
public static int BufferWidth { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CapsLock
Declaration
public static bool CapsLock { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CursorLeft
Declaration
public static int CursorLeft { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CursorSize
Declaration
public static int CursorSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CursorTop
Declaration
public static int CursorTop { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CursorVisible
Declaration
public static bool CursorVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ForegroundColor
Declaration
public static ConsoleColor ForegroundColor { get; set; }
Property Value
Type |
Description |
ConsoleColor |
|
|
Improve this Doc
View Source
Declaration
public static Encoding InputEncoding { get; set; }
Property Value
Type |
Description |
System.Text.Encoding |
|
|
Improve this Doc
View Source
KeyAvailable
Declaration
public static bool KeyAvailable { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LargestWindowHeight
Declaration
public static int LargestWindowHeight { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LargestWindowWidth
Declaration
public static int LargestWindowWidth { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NumberLock
Declaration
public static bool NumberLock { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OutputEncoding
Declaration
public static Encoding OutputEncoding { get; set; }
Property Value
Type |
Description |
System.Text.Encoding |
|
|
Improve this Doc
View Source
Title
Declaration
public static string Title { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public static bool TreatControlCAsInput { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WindowHeight
Declaration
public static int WindowHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WindowLeft
Declaration
public static int WindowLeft { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WindowTop
Declaration
public static int WindowTop { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WindowWidth
Declaration
public static int WindowWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Beep()
Declaration
public static void Beep()
|
Improve this Doc
View Source
Beep(Int32, Int32)
Declaration
public static void Beep(int frequency, int duration)
Parameters
Type |
Name |
Description |
System.Int32 |
frequency |
|
System.Int32 |
duration |
|
|
Improve this Doc
View Source
Clear()
Declaration
public static void Clear()
|
Improve this Doc
View Source
GetCursorPosition()
Declaration
public static (int Left, int Top) GetCursorPosition()
Returns
Type |
Description |
System.ValueTuple<System.Int32, System.Int32> |
|
|
Improve this Doc
View Source
MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32, Char, ConsoleColor, ConsoleColor)
Declaration
public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor)
Parameters
Type |
Name |
Description |
System.Int32 |
sourceLeft |
|
System.Int32 |
sourceTop |
|
System.Int32 |
sourceWidth |
|
System.Int32 |
sourceHeight |
|
System.Int32 |
targetLeft |
|
System.Int32 |
targetTop |
|
System.Char |
sourceChar |
|
ConsoleColor |
sourceForeColor |
|
ConsoleColor |
sourceBackColor |
|
|
Improve this Doc
View Source
Read()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReadKey()
Declaration
public static ConsoleKeyInfo ReadKey()
Returns
Type |
Description |
ConsoleKeyInfo |
|
|
Improve this Doc
View Source
ReadKey(Boolean)
Declaration
public static ConsoleKeyInfo ReadKey(bool intercept)
Parameters
Type |
Name |
Description |
System.Boolean |
intercept |
|
Returns
Type |
Description |
ConsoleKeyInfo |
|
|
Improve this Doc
View Source
ReadLine()
Declaration
public static string ReadLine()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ResetColor()
Declaration
public static void ResetColor()
|
Improve this Doc
View Source
SetBufferSize(Int32, Int32)
Declaration
public static void SetBufferSize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
|
Improve this Doc
View Source
SetCursorPosition(Int32, Int32)
Declaration
public static void SetCursorPosition(int left, int top)
Parameters
Type |
Name |
Description |
System.Int32 |
left |
|
System.Int32 |
top |
|
|
Improve this Doc
View Source
SetWindowPosition(Int32, Int32)
Declaration
public static void SetWindowPosition(int left, int top)
Parameters
Type |
Name |
Description |
System.Int32 |
left |
|
System.Int32 |
top |
|
|
Improve this Doc
View Source
SetWindowSize(Int32, Int32)
Declaration
public static void SetWindowSize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
|
Improve this Doc
View Source
Write(Boolean)
Declaration
public static void Write(bool aBool)
Parameters
Type |
Name |
Description |
System.Boolean |
aBool |
|
|
Improve this Doc
View Source
Write(Char)
Declaration
public static void Write(char aChar)
Parameters
Type |
Name |
Description |
System.Char |
aChar |
|
|
Improve this Doc
View Source
Write(Char[])
Declaration
public static void Write(char[] aBuffer)
Parameters
Type |
Name |
Description |
System.Char[] |
aBuffer |
|
|
Improve this Doc
View Source
Write(Char[], Int32, Int32)
Declaration
public static void Write(char[] buffer, int index, int count)
Parameters
Type |
Name |
Description |
System.Char[] |
buffer |
|
System.Int32 |
index |
|
System.Int32 |
count |
|
|
Improve this Doc
View Source
Write(Double)
Declaration
public static void Write(double aDouble)
Parameters
Type |
Name |
Description |
System.Double |
aDouble |
|
|
Improve this Doc
View Source
Write(Int32)
Declaration
public static void Write(int aInt)
Parameters
Type |
Name |
Description |
System.Int32 |
aInt |
|
|
Improve this Doc
View Source
Write(Int64)
Declaration
public static void Write(long aLong)
Parameters
Type |
Name |
Description |
System.Int64 |
aLong |
|
|
Improve this Doc
View Source
Write(Object)
Declaration
public static void Write(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
Write(Single)
Declaration
public static void Write(float aFloat)
Parameters
Type |
Name |
Description |
System.Single |
aFloat |
|
|
Improve this Doc
View Source
Write(String)
Declaration
public static void Write(string aText)
Parameters
Type |
Name |
Description |
System.String |
aText |
|
|
Improve this Doc
View Source
Write(String, Object)
Declaration
public static void Write(string format, object arg0)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
|
Improve this Doc
View Source
Write(String, Object, Object)
Declaration
public static void Write(string format, object arg0, object arg1)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
|
Improve this Doc
View Source
Write(String, Object, Object, Object)
Declaration
public static void Write(string format, object arg0, object arg1, object arg2)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
System.Object |
arg2 |
|
|
Improve this Doc
View Source
Write(String, Object[])
Declaration
public static void Write(string format, params object[] arg)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
arg |
|
|
Improve this Doc
View Source
Write(UInt32)
Declaration
public static void Write(uint aInt)
Parameters
Type |
Name |
Description |
System.UInt32 |
aInt |
|
|
Improve this Doc
View Source
Write(UInt64)
Declaration
public static void Write(ulong aLong)
Parameters
Type |
Name |
Description |
System.UInt64 |
aLong |
|
|
Improve this Doc
View Source
WriteLine()
Declaration
public static void WriteLine()
|
Improve this Doc
View Source
WriteLine(Boolean)
Declaration
public static void WriteLine(bool aBool)
Parameters
Type |
Name |
Description |
System.Boolean |
aBool |
|
|
Improve this Doc
View Source
WriteLine(Char)
Declaration
public static void WriteLine(char aChar)
Parameters
Type |
Name |
Description |
System.Char |
aChar |
|
|
Improve this Doc
View Source
WriteLine(Char[])
Declaration
public static void WriteLine(char[] aBuffer)
Parameters
Type |
Name |
Description |
System.Char[] |
aBuffer |
|
|
Improve this Doc
View Source
WriteLine(Char[], Int32, Int32)
Declaration
public static void WriteLine(char[] aBuffer, int aIndex, int aCount)
Parameters
Type |
Name |
Description |
System.Char[] |
aBuffer |
|
System.Int32 |
aIndex |
|
System.Int32 |
aCount |
|
|
Improve this Doc
View Source
WriteLine(Double)
Declaration
public static void WriteLine(double aDouble)
Parameters
Type |
Name |
Description |
System.Double |
aDouble |
|
|
Improve this Doc
View Source
WriteLine(Int32)
Declaration
public static void WriteLine(int aInt)
Parameters
Type |
Name |
Description |
System.Int32 |
aInt |
|
|
Improve this Doc
View Source
WriteLine(Int64)
Declaration
public static void WriteLine(long aLong)
Parameters
Type |
Name |
Description |
System.Int64 |
aLong |
|
|
Improve this Doc
View Source
WriteLine(Object)
Declaration
public static void WriteLine(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
WriteLine(Single)
Declaration
public static void WriteLine(float aFloat)
Parameters
Type |
Name |
Description |
System.Single |
aFloat |
|
|
Improve this Doc
View Source
WriteLine(String)
Declaration
public static void WriteLine(string aText)
Parameters
Type |
Name |
Description |
System.String |
aText |
|
|
Improve this Doc
View Source
WriteLine(String, Object)
Declaration
public static void WriteLine(string format, object arg0)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
|
Improve this Doc
View Source
WriteLine(String, Object, Object)
Declaration
public static void WriteLine(string format, object arg0, object arg1)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
|
Improve this Doc
View Source
WriteLine(String, Object, Object, Object)
Declaration
public static void WriteLine(string format, object arg0, object arg1, object arg2)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
System.Object |
arg2 |
|
|
Improve this Doc
View Source
WriteLine(String, Object[])
Declaration
public static void WriteLine(string format, params object[] arg)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
arg |
|
|
Improve this Doc
View Source
WriteLine(UInt32)
Declaration
public static void WriteLine(uint aInt)
Parameters
Type |
Name |
Description |
System.UInt32 |
aInt |
|
|
Improve this Doc
View Source
WriteLine(UInt64)
Declaration
public static void WriteLine(ulong aLong)
Parameters
Type |
Name |
Description |
System.UInt64 |
aLong |
|