public SystemStatusViewModel( IEventAggregator eventAggregator, IThirdPartyAppProvider thirdPartyDetector, IServiceRecommendationAdvisor serviceAdvisor, IInteractionService interactionService) { this.eventAggregator = eventAggregator; this.Items = new ObservableCollection <BaseRecommendationViewModel>(); var sideloading = new DeveloperAndSideloadingRecommendationViewModel(this.SideLoadCheck); var storeAutoDownload = new AutoDownloadRecommendationViewModel(this.SideLoadCheck); var repackaging = new RepackagingRecommendationViewModel(serviceAdvisor, interactionService, storeAutoDownload); var tooling = new ToolingRecommendationViewModel(thirdPartyDetector); this.Items.Add(sideloading); this.Items.Add(storeAutoDownload); this.Items.Add(repackaging); this.Items.Add(tooling); }
public ToolingRecommendationViewModel(IThirdPartyAppProvider thirdPartyDetector) { this.ThirdPartyDetector = thirdPartyDetector; this.Items = new ObservableCollection <DiscoveredAppViewModel>(); }