public MainWindowPresenter(MainWindow view,
                            MainWindowVM viewModel,
                            ICalculator calculator,
                            IOperationsHistoryRepository operationsHistoryRepository)
 {
     View        = view;
     ViewModel   = viewModel;
     _calculator = calculator;
     _operationsHistoryRepository = operationsHistoryRepository;
     OnInitialize();
 }
Esempio n. 2
0
 public UpdateHistoryHandler(IOperationsHistoryRepository operationsHistoryRepository)
 {
     _operationsHistoryRepository = operationsHistoryRepository;
 }
 public OperationsHistoryService(IOperationsHistoryRepository repository)
 {
     _repository = repository;
 }
Esempio n. 4
0
 public OperationsHistoryService(IOperationsHistoryRepository operationsHistoryRepository)
 {
     _operationsHistoryRepository = operationsHistoryRepository;
 }