1 instantiation of RequestTelemetryLogger
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
22
return new
RequestTelemetryLogger
(serverKind.ToTelemetryString());
15 references to RequestTelemetryLogger
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
11
[ExportCSharpVisualBasicLspServiceFactory(typeof(
RequestTelemetryLogger
)), Shared]
LspServices\RequestTelemetryScope.cs (7)
13
internal sealed class RequestTelemetryScope(string name,
RequestTelemetryLogger
telemetryLogger)
16
private readonly
RequestTelemetryLogger
_telemetryLogger = telemetryLogger;
17
private
RequestTelemetryLogger
.Result _result =
RequestTelemetryLogger
.Result.Succeeded;
28
_result =
RequestTelemetryLogger
.Result.Cancelled;
36
_result =
RequestTelemetryLogger
.Result.Failed;
41
_result =
RequestTelemetryLogger
.Result.Failed;
LspServices\TelemetryService.cs (3)
12
private readonly
RequestTelemetryLogger
_requestTelemetryLogger;
16
var
requestTelemetryLogger = lspServices.GetRequiredService<
RequestTelemetryLogger
>();
Workspaces\LspWorkspaceManager.cs (2)
121
private readonly
RequestTelemetryLogger
_requestTelemetryLogger;
128
RequestTelemetryLogger
requestTelemetryLogger)
Workspaces\LspWorkspaceManagerFactory.cs (2)
30
var
telemetryLogger = lspServices.GetRequiredService<
RequestTelemetryLogger
>();