public ExecutionController(MainController mainController, IExecutionView view) : base(mainController) { _view = view; _view.BenchmarkActionClicked += OnBenchmarkActionClicked; _view.DataUpdated += OnDataUpdated; _view.BenchmarkActionButton = "Start"; _view.PerformanceChartName = "Performance Chart (tps)"; _model = mainController.Model; _model.Results.Error += OnErrorReported; _model.Results.Message += OnMessageSent; _model.Results.Updated += OnResultUpdated; _model.Execution.Updated += OnExecutionUpdated; UpdateView(); }
public MainController(IExecutionView view) { View = view; }