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