private void RemoveHook(Hook aHook) { _view.RemoveHook(aHook); _view.RemoveHookEnabled = false; _view.RemoveAllHooksEnabled = _spyManager.AtLeastOneHookWasCreated; _view.ExportHookingSettings = _spyManager.AtLeastOneHookWasCreated; }
protected override bool HandleCore(IRunningProcess aProcess) { aProcess.Hooks().ForEach(h => _view.RemoveHook(h)); _view.RemoveRunningProcess(aProcess); _presenter.ClearDisplayedFunctionsIfModuleIsNoLongerDisplayed(); return(true); }
private void RemoveProcessHooks(IProcess aProcess) { aProcess.Hooks().ForEach(h => _view.RemoveHook(h)); }