public DirectiveRunner(IDeploymentDiagnostics diagnostics, IEnumerable <IDeployer <T> > deployers, IEnumerable <IInitializer <T> > initializers, IEnumerable <IFinalizer <T> > finalizers) { _diagnostics = diagnostics; _deployers = deployers; _initializers = initializers; _finalizers = finalizers; }
private void WriteToFile(IDeploymentDiagnostics diagnostics) { var path = Path.GetFullPath("run.log"); File.Delete(path); Console.WriteLine(path); //diagnostics.ForEach(log=> //{ // File.AppendAllText(path, log.Description); // File.AppendAllText(path, log.FullTraceText()); // File.AppendAllText(path, System.Environment.NewLine); //}); }
private void WriteToFile(IDeploymentDiagnostics diagnostics) { var path = Path.GetFullPath("run.log"); File.Delete(path); Console.WriteLine(path); //diagnostics.ForEach(log=> //{ // File.AppendAllText(path, log.Description); // File.AppendAllText(path, log.FullTraceText()); // File.AppendAllText(path, System.Environment.NewLine); //}); }
public DiagnosticsReporter(IDeploymentDiagnostics diagnostics) { _diagnostics = diagnostics; }
public DeploymentController(IProfileReader reader, IDeploymentDiagnostics diagnostics, IDirectiveRunnerFactory factory) { _reader = reader; _diagnostics = diagnostics; _factory = factory; }
public DeploymentController(IProfileReader reader, IDeploymentDiagnostics diagnostics, IDirectiveRunnerFactory factory) { _reader = reader; _diagnostics = diagnostics; _factory = factory; }