コード例 #1
0
ファイル: Console.cs プロジェクト: rsumner31/corefx2
 public static void SetBufferSize(int width, int height)
 {
     ConsolePal.SetBufferSize(width, height);
 }
コード例 #2
0
ファイル: Console.cs プロジェクト: rsumner31/corefx2
 public static void SetWindowPosition(int left, int top)
 {
     ConsolePal.SetWindowPosition(left, top);
 }
コード例 #3
0
ファイル: Console.cs プロジェクト: rsumner31/corefx2
 public static ConsoleKeyInfo ReadKey(bool intercept)
 {
     return(ConsolePal.ReadKey(intercept));
 }
コード例 #4
0
ファイル: Console.cs プロジェクト: rsumner31/corefx2
 public static void ResetColor()
 {
     ConsolePal.ResetColor();
 }
コード例 #5
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 public static Stream OpenStandardError()
 {
     return(ConsolePal.OpenStandardError());
 }
コード例 #6
0
ファイル: Console.cs プロジェクト: rsumner31/corefx2
 public static ConsoleKeyInfo ReadKey()
 {
     return(ConsolePal.ReadKey(false));
 }
コード例 #7
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 public static void Clear()
 {
     ConsolePal.Clear();
 }
コード例 #8
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 public static Stream OpenStandardOutput()
 {
     return(ConsolePal.OpenStandardOutput());
 }
コード例 #9
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 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
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 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
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 public static void Beep(int frequency, int duration)
 {
     ConsolePal.Beep(frequency, duration);
 }
コード例 #12
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 public static void Beep()
 {
     ConsolePal.Beep();
 }
コード例 #13
0
ファイル: Console.cs プロジェクト: zhaopengh/corefx
 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));
            }