Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public HistoryPresenter([NotNull] IHistoryView view, [NotNull] IHistoryModel historyModel, [NotNull] IMainModel mainModel)
 {
     m_View         = view;
     m_HistoryModel = historyModel;
     m_MainModel    = mainModel;
 }