Ejemplo n.º 1
0
 private static void Create(ConsoleKey key, string description, InputOptionDelegate inputDelegate)
 {
     InputOption option = new InputOption(key, description, inputDelegate);
     Options.Add(key, option);
 }
Ejemplo n.º 2
0
 private InputOption(ConsoleKey key, string description, InputOptionDelegate inputDelegate)
 {
     _key           = key;
     _description   = description;
     _inputDelegate = inputDelegate;
 }
Ejemplo n.º 3
0
 private InputOption(ConsoleKey key, string description, InputOptionDelegate inputDelegate)
 {
     _key = key;
     _description = description;
     _inputDelegate = inputDelegate;
 }
Ejemplo n.º 4
0
            private static void Create(ConsoleKey key, string description, InputOptionDelegate inputDelegate)
            {
                InputOption option = new InputOption(key, description, inputDelegate);

                Options.Add(key, option);
            }