コード例 #1
0
        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);
        }