Exemple #1
0
        public CalculatorViewModel(IBasicCalculatorHandler basicCalculationHandler)
        {
            _basicCalculatorHandler       = basicCalculationHandler ?? throw new ArgumentNullException(nameof(basicCalculationHandler));
            _basicCalculatorHandler.Model = this;

            SetShiftButtonContents();
        }
Exemple #2
0
 public MainWindowViewModel(IBasicCalculatorHandler basicCalculatorHandler)
 {
     _basicCalculatorHandler = basicCalculatorHandler ?? throw new ArgumentNullException(nameof(basicCalculatorHandler));
 }