public void Handle(SimulationReplacedInParameterAnalyzableEvent eventToHandle) { if (canHandle(eventToHandle)) { refreshSubPresenters(); } }
private bool canHandle(SimulationReplacedInParameterAnalyzableEvent eventToHandle) { return(Equals(eventToHandle.ParameterAnalysable, _parameterIdentification)); }
private bool canHandle(SimulationReplacedInParameterAnalyzableEvent eventToHandle) { return(Equals(eventToHandle.ParameterAnalysable, _sensitivityAnalysis) && (_sensitivityAnalysis?.Simulation != null)); }