public PowerShellTaskFactory(IOutputService outputService, ICommandErrorReporter errorReporter, ICommandLogParser logParser, IShellCommandRunner commandRunner) { this.outputService = outputService; this.errorReporter = errorReporter; this.logParser = logParser; this.commandRunner = commandRunner; }
public void Before() { this.logParser = new JsonCommandLogParser(); }
public PowerShellTaskFactory(IOutputService outputService, ICommandErrorReporter errorReporter, ICommandLogParser logParser) : this(outputService, errorReporter, logParser, new PowerShellCommandRunner()) { }
public CommandErrorReporter(IErrorTaskHandler errorTaskHandler, ICommandLogParser logParser) { this.errorTaskHandler = errorTaskHandler; this.logParser = logParser; }