15 references to LspServiceMetadataView
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
LspServices\AbstractLspServiceProvider.cs (4)
14
private readonly ImmutableArray<Lazy<ILspService,
LspServiceMetadataView
>> _lspServices;
15
private readonly ImmutableArray<Lazy<ILspServiceFactory,
LspServiceMetadataView
>> _lspServiceFactories;
18
IEnumerable<Lazy<ILspService,
LspServiceMetadataView
>> specificLspServices,
19
IEnumerable<Lazy<ILspServiceFactory,
LspServiceMetadataView
>> specificLspServiceFactories)
LspServices\LspServices.cs (9)
21
private readonly FrozenDictionary<string, Lazy<ILspService,
LspServiceMetadataView
>> _lazyMefLspServices;
37
ImmutableArray<Lazy<ILspService,
LspServiceMetadataView
>> mefLspServices,
38
ImmutableArray<Lazy<ILspServiceFactory,
LspServiceMetadataView
>> mefLspServiceFactories,
42
var serviceMap = new Dictionary<string, Lazy<ILspService,
LspServiceMetadataView
>>();
64
void AddSpecificService(Lazy<ILspService,
LspServiceMetadataView
> serviceGetter)
66
var
metadata = serviceGetter.Metadata;
71
void TryAddAnyService(Lazy<ILspService,
LspServiceMetadataView
> serviceGetter)
73
var
metadata = serviceGetter.Metadata;
186
var
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)