public MissingSdkRuntimeDetector( IMissingSetupComponentRegistrationService missingSetupComponentRegistrationService, ConfiguredProject configuredProject, IProjectThreadingService threadingService) : base(threadingService.JoinableTaskContext) { _missingSetupComponentRegistrationService = missingSetupComponentRegistrationService; _project = configuredProject; }
public Task InitializeAsync(IAsyncServiceProvider asyncServiceProvider) { IMissingSetupComponentRegistrationService missingWorkloadRegistrationService = _projectServiceAccessor .GetProjectService() .Services .ExportProvider .GetExport <IMissingSetupComponentRegistrationService>() .Value; return(missingWorkloadRegistrationService.InitializeAsync()); }
public MissingWorkloadDetector( ConfiguredProject project, IWorkloadDescriptorDataSource workloadDescriptorDataSource, IMissingSetupComponentRegistrationService missingSetupComponentRegistrationService, IProjectThreadingService threadingService, IProjectFaultHandlerService projectFaultHandlerService, IProjectSubscriptionService projectSubscriptionService) : base(threadingService.JoinableTaskContext) { _project = project; _workloadDescriptorDataSource = workloadDescriptorDataSource; _missingSetupComponentRegistrationService = missingSetupComponentRegistrationService; _projectFaultHandlerService = projectFaultHandlerService; _projectSubscriptionService = projectSubscriptionService; }