示例#1
0
        public EnvironmentController(MainController mainController, IEnvironmentView view)
            : base(mainController)
        {
            _view = view;
            _view.UpdateSystemBenchmarkClicked += OnUpdateSystemBenchmarkClicked;

            _model = mainController.Model;

            UpdateView();
        }
 public void RemoveEnvironmentView(IEnvironmentView ev)
 {
     views.Remove(ev);
 }
 public void AddEnvironmentView(IEnvironmentView ev)
 {
     views.Add(ev);
 }