public ProcessPresenter(ISingleInboxActionSelector inbox,
                                ICachingDictionary <IAction, IProcessActionPresenter> processActionCachingDictionary)
        {
            _processActionCachingDictionary = processActionCachingDictionary;
            Inbox = inbox;

            _currentActionObserver = new PropertyObserver <ISingleInboxActionSelector>(Inbox).
                                     RegisterHandler(x => x.SelectedItem,
                                                     y => OpenPresenterForSelectedInboxAction());
        }
Exemple #2
0
 public CollectPresenter(IInputPresenter inputPresenter, ISingleInboxActionSelector inboxPresenter) : base(true)
 {
     Input        = inputPresenter;
     InboxActions = inboxPresenter;
 }