public CalculatorViewModel(IBasicCalculatorHandler basicCalculationHandler) { _basicCalculatorHandler = basicCalculationHandler ?? throw new ArgumentNullException(nameof(basicCalculationHandler)); _basicCalculatorHandler.Model = this; SetShiftButtonContents(); }
public MainWindowViewModel(IBasicCalculatorHandler basicCalculatorHandler) { _basicCalculatorHandler = basicCalculatorHandler ?? throw new ArgumentNullException(nameof(basicCalculatorHandler)); }