Beef Corlib
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
System.Console Class Reference

Classes

struct  CancelInfo
 

Public Types

enum  CancelKind { CtrlC, CtrlBreak }
 

Public Member Functions

static void ReopenHandles ()
 

Static Public Member Functions

static Windows.IntBool ConsoleCtrlHandler (int32 ctrlType)
 
static Result< char8 > Read ()
 
static Result< void > ReadLine (String strBuffer)
 
static Task< StringReadLineAsync ()
 
static Result< void > ReadToEnd (String outText)
 
static void Write (StringView line)
 
static void Write (StringView fmt, params Object[] args)
 
static void Write (Object obj)
 
static void WriteLine ()
 
static void WriteLine (StringView line)
 
static void WriteLine (StringView fmt, params Object[] args)
 
static void WriteLine (Object obj)
 
static void ResetColor ()
 
static void Clear ()
 

Public Attributes

 set
 

Static Public Attributes

static this[1]
 
static volatile StreamWriter mOut ~ delete _
 
static volatile StreamWriter mError ~ delete _
 
static volatile StreamReader mIn ~ delete _
 
static bool KeyAvailable => In.CanReadNow
 

Properties

static ConsoleColor ForegroundColor [get, set]
 
static ConsoleColor BackgroundColor [get, set]
 
static ref Event< delegate void(CancelKind cancelKind, ref bool terminate)> OnCancel [get]
 
static int32 CursorLeft [get, set]
 
static StreamWriter Out [get]
 
static StreamWriter Error [get]
 
static StreamReader In [get]
 

Member Data Documentation

◆ set

System.Console.set
Initial value:
{
let handle = GetStdHandle(STD_OUTPUT_HANDLE)