Ejemplo n.º 1
0
 public HelpCommand(ILogger <HelpCommand> logger, Console console, IComponentContext container, IConsoleApplicationInformationProvider consoleApplicationInformation)
 {
     _logger    = logger;
     _console   = console;
     _container = container;
     _consoleApplicationInformation = consoleApplicationInformation;
 }
Ejemplo n.º 2
0
 public Console(IConsoleReader consoleReader, IConsoleWriter consoleWriter, IConsoleApplicationInformationProvider consoleApplicationInformationProvider)
 {
     Reader      = consoleReader;
     Writer      = consoleWriter;
     Application = consoleApplicationInformationProvider;
 }