コード例 #1
0
 public MissingSdkRuntimeDetector(
     IMissingSetupComponentRegistrationService missingSetupComponentRegistrationService,
     ConfiguredProject configuredProject,
     IProjectThreadingService threadingService)
     : base(threadingService.JoinableTaskContext)
 {
     _missingSetupComponentRegistrationService = missingSetupComponentRegistrationService;
     _project = configuredProject;
 }
コード例 #2
0
        public Task InitializeAsync(IAsyncServiceProvider asyncServiceProvider)
        {
            IMissingSetupComponentRegistrationService missingWorkloadRegistrationService = _projectServiceAccessor
                                                                                           .GetProjectService()
                                                                                           .Services
                                                                                           .ExportProvider
                                                                                           .GetExport <IMissingSetupComponentRegistrationService>()
                                                                                           .Value;

            return(missingWorkloadRegistrationService.InitializeAsync());
        }
コード例 #3
0
 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;
 }