protected override bool HandleCore(IRunningProcess aProcess)
        {
            aProcess.Hooks().ForEach(h => _view.RemoveHook(h));
            _view.RemoveRunningProcess(aProcess);
            _presenter.ClearDisplayedFunctionsIfModuleIsNoLongerDisplayed();

            return(true);
        }
예제 #2
0
        private void RemoveRunningProcess(IRunningProcess aProcess)
        {
            _view.RemoveRunningProcess(aProcess);

            if (!_selectedProcesses.Contains(aProcess))
            {
                return;
            }

            RemoveRunningProcessFromSelection(aProcess);
        }