コード例 #1
0
 private void handle(FormulaEvent eventToHandle)
 {
     if (!canHandle(eventToHandle))
     {
         return;
     }
     Edit(_formula, _formulaOwner);
 }
コード例 #2
0
 private bool canHandle(FormulaEvent formulaEvent)
 {
     return(Equals(formulaEvent.Formula, _formula));
 }
コード例 #3
0
 private bool canHandle(FormulaEvent formulaEvent) => Equals(formulaEvent.Formula, _formula);