示例#1
0
 public static void SetBufferSize(int width, int height)
 {
     ConsolePal.SetBufferSize(width, height);
 }
示例#2
0
 public static void SetWindowPosition(int left, int top)
 {
     ConsolePal.SetWindowPosition(left, top);
 }
示例#3
0
 public static ConsoleKeyInfo ReadKey(bool intercept)
 {
     return(ConsolePal.ReadKey(intercept));
 }
示例#4
0
 public static void ResetColor()
 {
     ConsolePal.ResetColor();
 }
示例#5
0
 public static Stream OpenStandardError()
 {
     return(ConsolePal.OpenStandardError());
 }
示例#6
0
 public static ConsoleKeyInfo ReadKey()
 {
     return(ConsolePal.ReadKey(false));
 }
示例#7
0
 public static void Clear()
 {
     ConsolePal.Clear();
 }
示例#8
0
 public static Stream OpenStandardOutput()
 {
     return(ConsolePal.OpenStandardOutput());
 }
示例#9
0
 public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop)
 {
     ConsolePal.MoveBufferArea(sourceLeft, sourceTop, sourceWidth, sourceHeight, targetLeft, targetTop, ' ', ConsoleColor.Black, BackgroundColor);
 }
示例#10
0
 public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor)
 {
     ConsolePal.MoveBufferArea(sourceLeft, sourceTop, sourceWidth, sourceHeight, targetLeft, targetTop, sourceChar, sourceForeColor, sourceBackColor);
 }
示例#11
0
 public static void Beep(int frequency, int duration)
 {
     ConsolePal.Beep(frequency, duration);
 }
示例#12
0
 public static void Beep()
 {
     ConsolePal.Beep();
 }
示例#13
0
 public static void SetWindowSize(int width, int height)
 {
     ConsolePal.SetWindowSize(width, height);
 }
示例#14
0
            public override void Write(byte[] buffer, int offset, int count)
            {
                ValidateWrite(buffer, offset, count);

                ConsolePal.Write(_handle, buffer, offset, count);
            }
示例#15
0
            public override int Read(byte[] buffer, int offset, int count)
            {
                ValidateRead(buffer, offset, count);

                return(ConsolePal.Read(_handle, buffer, offset, count));
            }