15 references to LspServiceMetadataView
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
LspServices\AbstractLspServiceProvider.cs (4)
14private readonly ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> _lspServices; 15private readonly ImmutableArray<Lazy<ILspServiceFactory, LspServiceMetadataView>> _lspServiceFactories; 18IEnumerable<Lazy<ILspService, LspServiceMetadataView>> specificLspServices, 19IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> specificLspServiceFactories)
LspServices\LspServices.cs (9)
20private readonly FrozenDictionary<string, Lazy<ILspService, LspServiceMetadataView>> _lazyMefLspServices; 36ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> mefLspServices, 37ImmutableArray<Lazy<ILspServiceFactory, LspServiceMetadataView>> mefLspServiceFactories, 41var serviceMap = new Dictionary<string, Lazy<ILspService, LspServiceMetadataView>>(); 63void AddSpecificService(Lazy<ILspService, LspServiceMetadataView> serviceGetter) 65var metadata = serviceGetter.Metadata; 70void TryAddAnyService(Lazy<ILspService, LspServiceMetadataView> serviceGetter) 72var metadata = serviceGetter.Metadata; 185var metadata = lazyService.Metadata;
LspServices\RoslynLspServiceProvider.cs (2)
18[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices, 19[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> lspServiceFactories)