public DownloadContextEditViewModel(IExceptionHandler exceptionHandler, INavigationHandler navigationHandler, DownloadContextConfigurationLogic logic)
 {
     BoerseLinkProviders = (BoerseLinkProvider[])Enum.GetValues(typeof(BoerseLinkProvider));
     _exceptionHandler   = exceptionHandler;
     _navigationHandler  = navigationHandler;
     _logic = logic;
 }
Example #2
0
 public DownloadContextsOverviewViewModel(IExceptionHandler exceptionHandler, INavigationHandler navigationHandler, DownloadContextConfigurationLogic downloadContextConfigurationLogic)
 {
     _exceptionHandler  = exceptionHandler;
     _navigationHandler = navigationHandler;
     _downloadContextConfigurationLogic = downloadContextConfigurationLogic;
     DownloadContextEntries             = new ObservableCollection <DownloadContext>(_downloadContextConfigurationLogic.LoadAll());
 }