Ejemplo n.º 1
0
        public IReadKeyResultWrapper ReadKeyWithOptions()
        {
            ConsoleKey key        = Console.ReadKey().Key;
            var        readResult = new ReadKeyResult(key);

            return(new ReadKeyResultWrapper(readResult, this));
        }
Ejemplo n.º 2
0
 internal ReadKeyResultWrapper(ReadKeyResult readResult, Consolefy fluentConsole)
 {
     _possibleOutcomes = new List <PossibleReadKeyOutcome>();
     _readResult       = readResult;
     _fluentConsole    = fluentConsole;
 }