17 references to BaseService
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
LspServices\AbstractLspServiceProvider.cs (1)
25public LspServices CreateServices(WellKnownLspServerKinds serverKind, FrozenDictionary<string, ImmutableArray<BaseService>> baseServices)
LspServices\BaseService.cs (4)
18public static BaseService Create<T>(T instance) 22public static BaseService CreateLazily<T>(Func<ILspServices, T> creator) 26private sealed class ConcreteService<T>(T instance) : BaseService 33private sealed class LazyService<T>(Func<ILspServices, T> creator) : BaseService
LspServices\LspServices.cs (2)
28private readonly FrozenDictionary<string, ImmutableArray<BaseService>> _baseServices; 40FrozenDictionary<string, ImmutableArray<BaseService>> baseServices)
RoslynLanguageServer.cs (10)
26private readonly FrozenDictionary<string, ImmutableArray<BaseService>> _baseServices; 69private FrozenDictionary<string, ImmutableArray<BaseService>> GetBaseServices( 109BaseService service => [service], 110ImmutableArray<BaseService>.Builder builder => builder.ToImmutable(), 117AddBaseService(BaseService.Create(instance)); 123AddBaseService(BaseService.CreateLazily(creator)); 126void AddBaseService(BaseService baseService) 143case BaseService existingService: 144var builder = ImmutableArray.CreateBuilder<BaseService>(); 152case ImmutableArray<BaseService>.Builder existingBuilder: