Example #1
0
 public DdfGuide(
     IAudioDramaListView audioDramaListView,
     IAudioDramaView audioDramaView,
     IRootView rootView,
     ICache <IEnumerable <AudioDramaDto> > dtoCache,
     ICache <IEnumerable <AudioDramaUserData> > userDataCache,
     IShutdown shutdown,
     IUserNotifier userNotifier,
     IUriInvoker uriInvoker,
     IClipboardService clipboardService,
     IYesNoDialog yesNoDialog,
     IOkDialog okDialog,
     IUpdatingView updatingView)
 {
     _audioDramaListView = audioDramaListView;
     _audioDramaView     = audioDramaView;
     _rootView           = rootView;
     _dtoCache           = dtoCache;
     _userDataCache      = userDataCache;
     _shutdown           = shutdown;
     _userNotifier       = userNotifier;
     _uriInvoker         = uriInvoker;
     _clipboardService   = clipboardService;
     _yesNoDialog        = yesNoDialog;
     _okDialog           = okDialog;
     _updatingView       = updatingView;
 }
Example #2
0
        public Navigator(
            IRootView rootView,
            IPresenter <IAudioDramaView, AudioDrama> audioDramaPresenter,
            IPresenter <IAudioDramaListView, IEnumerable <AudioDrama> > audioDramaListPresenter,
            IAudioDramaExplorer explorer,
            IRandomAudioDramaPicker picker,
            ISource <IEnumerable <AudioDrama> > source,
            IShutdown shutdown,
            IUpdatingView updatingView)
        {
            _rootView                = rootView;
            _audioDramaPresenter     = audioDramaPresenter;
            _audioDramaListPresenter = audioDramaListPresenter;
            _explorer                = explorer;
            _picker       = picker;
            _source       = source;
            _shutdown     = shutdown;
            _updatingView = updatingView;

            InitNavigationEvents();
        }