1 write to Package
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.cs (1)
80Package = package;
26 references to Package
Microsoft.VisualStudio.LanguageServices (26)
LanguageService\AbstractLanguageService`2.cs (13)
82Debug.Assert(!this.Package.JoinableTaskFactory.Context.IsOnMainThread, "Language service should be instantiated on background thread"); 84this.EditorOptionsService = this.Package.ComponentModel.GetService<EditorOptionsService>(); 85this.Workspace = this.Package.ComponentModel.GetService<VisualStudioWorkspaceImpl>(); 86this.EditorAdaptersFactoryService = this.Package.ComponentModel.GetService<IVsEditorAdaptersFactoryService>(); 90private IThreadingContext ThreadingContext => this.Package.ComponentModel.GetService<IThreadingContext>(); 93=> Package; 112await this.Package.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 148var workspace = Package.ComponentModel.GetService<VisualStudioWorkspace>(); 153v, Package.ComponentModel).AttachToVsTextView()); 165var globalOptions = this.Package.ComponentModel.GetService<IGlobalOptionService>(); 195var outliningManagerService = this.Package.ComponentModel.GetService<IOutliningManagerService>(); 228this.Package.ComponentModel.GetService<IUIThreadOperationExecutor>()); 237this.Package.ComponentModel,
LanguageService\AbstractLanguageService`2.IVsImmediateStatementCompletion2.cs (2)
55this.Package.ComponentModel, 56this.Package.ComponentModel.GetService<IFeatureServiceFactory>());
LanguageService\AbstractLanguageService`2.IVsLanguageBlock.cs (1)
43var uiThreadOperationExecutor = this.Package.ComponentModel.GetService<IUIThreadOperationExecutor>();
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (1)
31var uiThreadOperationExecutor = this.Package.ComponentModel.GetService<IUIThreadOperationExecutor>();
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (8)
51_globalOptions = languageService.Package.ComponentModel.GetService<IGlobalOptionService>(); 160var controllerFactoryService = _languageService.Package.ComponentModel.GetService<INavigationBarControllerFactoryService>(); 252var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>(); 257var languageServiceBroker = _languageService.Package.ComponentModel.GetService<ILanguageServiceBroker2>(); 258var asyncListenerProvider = _languageService.Package.ComponentModel.GetService<IAsynchronousOperationListenerProvider>(); 260var editorAdaptersFactoryService = _languageService.Package.ComponentModel.GetService<IVsEditorAdaptersFactoryService>(); 261var outliningManagerService = _languageService.Package.ComponentModel.GetService<IOutliningManagerService>(); 285var threadingContext = _languageService.Package.ComponentModel.GetService<IThreadingContext>();
Venus\VenusCommandFilter`2.cs (1)
30: base(wpfTextView, subjectBuffer, nextCommandTarget, languageService.Package.ComponentModel)