public CommanderEvent(TaskCompletionSource <KeyInfo> readKeyCompletitionSource) { Type = CommanderEventType.ReadKey; _readKeyCompletitionSource = readKeyCompletitionSource; }
public CommanderEvent(TaskCompletionSource <string> readLineCompletitionSource) { Type = CommanderEventType.ReadLine; _readLineCompletitionSource = readLineCompletitionSource; }