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