private void handle(FormulaEvent eventToHandle) { if (!canHandle(eventToHandle)) { return; } Edit(_formula, _formulaOwner); }
private bool canHandle(FormulaEvent formulaEvent) { return(Equals(formulaEvent.Formula, _formula)); }
private bool canHandle(FormulaEvent formulaEvent) => Equals(formulaEvent.Formula, _formula);