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