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