Exemplo n.º 1
0
 public LanguageServiceHost(IUnconfiguredProjectCommonServices commonServices,
                            Lazy <IProjectContextProvider> contextProvider,
                            [Import(ExportContractNames.Scopes.UnconfiguredProject)] IProjectAsynchronousTasksService tasksService,
                            IActiveProjectConfigurationRefreshService activeProjectConfigurationRefreshService,
                            LanguageServiceHandlerManager languageServiceHandlerManager,
                            IUnconfiguredProjectTasksService unconfiguredProjectTasksService)
     : base(commonServices.ThreadingService.JoinableTaskContext)
 {
     _commonServices  = commonServices;
     _contextProvider = contextProvider;
     _tasksService    = tasksService;
     _activeProjectConfigurationRefreshService = activeProjectConfigurationRefreshService;
     _languageServiceHandlerManager            = languageServiceHandlerManager;
     _unconfiguredProjectTasksService          = unconfiguredProjectTasksService;
     _evaluationSubscriptionLinks            = new List <IDisposable>();
     _designTimeBuildSubscriptionLinks       = new List <IDisposable>();
     _projectConfigurationsWithSubscriptions = new HashSet <ProjectConfiguration>();
 }