public PowerShellTaskFactory(IOutputService outputService, ICommandErrorReporter errorReporter, ICommandLogParser logParser, IShellCommandRunner commandRunner)
 {
     this.outputService = outputService;
     this.errorReporter = errorReporter;
     this.logParser = logParser;
     this.commandRunner = commandRunner;
 }
 private BoltStubServer(string script, int port)
 {
     _commandRunner = ShellCommandRunnerFactory.Create();
     _commandRunner.BeginRunCommand("boltstub", port.ToString(), script);
     _port = port;
     WaitForServer(_port);
 }
Exemple #3
0
 private BoltStubServer(string script, int port)
 {
     _commandRunner = ShellCommandRunnerFactory.Create();
     //_commandRunner.BeginRunCommand("bolt", "stub", "-l", "127.0.0.1:" + port.ToString(), "-v", script);
     _commandRunner.BeginRunCommand("boltstub", "-v", port.ToString(), "-v", script);
     WaitForServer(port);
 }
Exemple #4
0
 public ExternalBoltkitInstaller()
 {
     _commandRunner = ShellCommandRunnerFactory.Create();
 }
Exemple #5
0
 public PackageListRetriver(IShellCommandRunner shellCommandRunner)
 {
     _shellCommandRunner = shellCommandRunner;
 }
 public PackageInstaller(IShellCommandRunner shellCommandRunner)
 {
     _shellCommandRunner = shellCommandRunner;
 }
 public void Before()
 {
     this.commandRunner = new PowerShellCommandRunner();
 }
 public PackageUninstaller(IShellCommandRunner shellCommandRunner)
 {
     _shellCommandRunner = shellCommandRunner;
 }
 public PackageListRetriver(IShellCommandRunner shellCommandRunner)
 {
     _shellCommandRunner = shellCommandRunner;
 }