public ExecutionLogWindow(IExecutionLogController executionLogController, IOptionsController optionsController) { InitializeComponent(); EventHandler<ExecutionLogUpdatedEventArgs> onExecutionLogUpdated = (s, e) => reportViewer.Show(e.TestStepRuns, optionsController.RecursiveExecutionLog); executionLogController.ExecutionLogUpdated += onExecutionLogUpdated; Disposed += (s, e) => executionLogController.ExecutionLogUpdated -= onExecutionLogUpdated; EventHandler<EventArgs> onExecutionLogReset = (s, e) => reportViewer.Clear(); executionLogController.ExecutionLogReset += onExecutionLogReset; Disposed += (s, e) => executionLogController.ExecutionLogReset -= onExecutionLogReset; }
public ExecutionLogWindow(IExecutionLogController executionLogController, IOptionsController optionsController) { InitializeComponent(); EventHandler <ExecutionLogUpdatedEventArgs> onExecutionLogUpdated = (s, e) => reportViewer.Show(e.TestStepRuns, optionsController.RecursiveExecutionLog); executionLogController.ExecutionLogUpdated += onExecutionLogUpdated; Disposed += (s, e) => executionLogController.ExecutionLogUpdated -= onExecutionLogUpdated; EventHandler <EventArgs> onExecutionLogReset = (s, e) => reportViewer.Clear(); executionLogController.ExecutionLogReset += onExecutionLogReset; Disposed += (s, e) => executionLogController.ExecutionLogReset -= onExecutionLogReset; }
public ExecutionLogPackage(IWindowManager windowManager, IExecutionLogController executionLogController, IOptionsController optionsController) { this.windowManager = windowManager; this.executionLogController = executionLogController; this.optionsController = optionsController; }
public ExecutionLogPackage(IWindowManager windowManager, IExecutionLogController executionLogController, IOptionsController optionsController) { this.windowManager = windowManager; this.executionLogController = executionLogController; this.optionsController = optionsController; }