15 references to ServerConfiguration
Microsoft.CodeAnalysis.LanguageServer (13)
HostWorkspace\ProjectTelemetry\ProjectLoadTelemetryReporter.cs (1)
18internal class ProjectLoadTelemetryReporter(ILoggerFactory loggerFactory, ServerConfiguration serverConfiguration)
LanguageServer\Handler\Logging\UpdateLogLevelHandler.cs (1)
19internal class UpdateLogLevelHandler(ServerConfiguration serverConfiguration) : ILspServiceNotificationHandler<UpdateLogLevelParams>
Logging\LspLogMessageLogger.cs (1)
17internal sealed class LspLogMessageLogger(string categoryName, ILoggerFactory fallbackLoggerFactory, ServerConfiguration serverConfiguration) : ILogger
Logging\LspLogMessageLoggerProvider.cs (1)
9internal class LspLogMessageLoggerProvider(ILoggerFactory fallbackLoggerFactory, ServerConfiguration serverConfiguration) : ILoggerProvider
Program.cs (2)
41static async Task RunAsync(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) 252var serverConfiguration = new ServerConfiguration(
ServerConfigurationFactory.cs (4)
18private ServerConfiguration? _serverConfiguration; 27[Export(typeof(ServerConfiguration))] 28public ServerConfiguration ServerConfiguration => _serverConfiguration ?? throw new InvalidOperationException($"{nameof(ServerConfiguration)} has not been initialized"); 30public void InitializeConfiguration(ServerConfiguration serverConfiguration)
Services\ExtensionAssemblyManager.cs (1)
48public static ExtensionAssemblyManager Create(ServerConfiguration serverConfiguration, ILoggerFactory loggerFactory)
Testing\RunTestsHandler.cs (2)
21internal class RunTestsHandler(DotnetCliHelper dotnetCliHelper, TestDiscoverer testDiscoverer, TestRunner testRunner, ServerConfiguration serverConfiguration, ILoggerFactory loggerFactory) 155private static TraceLevel GetTraceLevel(ServerConfiguration serverConfiguration)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
TelemetryReporterTests.cs (1)
21var exportProvider = await LanguageServerTestComposition.CreateExportProviderAsync(TestOutputLogger.Factory, includeDevKitComponents: true, out var _, out var _);
Utilities\AbstractLanguageServerHostTests.cs (1)
38logger.Factory, includeDevKitComponents, out var _, out var assemblyLoader);