public InitializeCommand(IAssembly resourceAssembly, IFileStatic file, IConsoleStatic console)
     : base("initialize", "Creates a new SolutionInspector configuration file or overwrite an existing one.")
 {
     _resourceAssembly = resourceAssembly;
     _file             = file;
     _console          = console;
 }
예제 #2
0
 public ConsoleApplication(
     IConsoleWorkerRole worker,
     IArgsParser <TSettings> parser,
     IConsoleStatic console)
 {
     this.worker  = worker ?? throw new ArgumentNullException(nameof(worker));
     this.parser  = parser ?? throw new ArgumentNullException(nameof(parser));
     this.console = console;
 }