public ShellViewModel( IChocolateyService chocolateyPackageService, IVersionNumberProvider versionNumberProvider, IEventAggregator eventAggregator, SourcesViewModel sourcesViewModel, IConfigService configService) { _chocolateyPackageService = chocolateyPackageService; _versionNumberProvider = versionNumberProvider; _eventAggregator = eventAggregator; _sourcesViewModel = sourcesViewModel; _configService = configService; Sources = new BindableCollection <SourceViewModel>(); ActiveItem = _sourcesViewModel; GoToSourceCommand = new RelayCommand(GoToSource, CanGoToSource); }