public HistoryPresenter(IHistoryView view, IHistoryModel historyModel) { m_View = view; m_HistoryModel = historyModel; m_HistoryModel.HistoryListUpdated += OnHistoryListUpdated; m_HistoryModel.SelectedRevisionReceived += OnSelectedRevisionReceived; m_HistoryModel.EntryCountUpdated += OnEntryCountUpdated; m_HistoryModel.HistoryListReceived += OnHistoryListReceived; m_HistoryModel.BusyStatusUpdated += OnBusyStatusUpdated; }
public HistoryPresenter([NotNull] IHistoryView view, [NotNull] IHistoryModel historyModel, [NotNull] IMainModel mainModel) { m_View = view; m_HistoryModel = historyModel; m_MainModel = mainModel; }