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