2using System.Threading.Tasks;
11 private readonly TaskCompletionSource<int> result;
12 private readonly
char[] buffer;
13 private readonly
int index;
14 private readonly
int count;
44 int Result = await System.Console.In.ReadBlockAsync(this.buffer, this.index, this.count);
45 this.result.TrySetResult(Result);
49 this.result.TrySetException(ex);
Reads a block of characters from the console.
ConsoleInReadBlock(char[] Buffer, int Index, int Count, TaskCompletionSource< int > Result)
Reads a block of characters from the console.
override async Task Execute()
Executes the console operation.
Manages a Console operation.