public WebCalculator Execute(CalcElementType calcElement) { if (calcElement != CalcElementType.NONE && calcElement != CalcElementType.RESULT) { ActionWithCalcBtn(baseCalculator.GetButton(calcElement)); } return(this); }
public T GetButton(CalcElementType button) { return(calcButtons[button]); }