15 references to LspServiceMetadataView
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
LspServices\AbstractLspServiceProvider.cs (4)
13IEnumerable<Lazy<ILspService, LspServiceMetadataView>> specificLspServices, 14IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> specificLspServiceFactories) 16private readonly ImmutableArray<Lazy<ILspService, LspServiceMetadataView>> _lspServices = [.. specificLspServices]; 17private readonly ImmutableArray<Lazy<ILspServiceFactory, LspServiceMetadataView>> _lspServiceFactories = [.. 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)
16[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices, 17[ImportMany(ProtocolConstants.RoslynLspLanguagesContract)] IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> lspServiceFactories)