3 implementations of ITelemetryReporter
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Telemetry\NoOpTelemetryReporter.cs (1)
8
internal sealed class NoOpTelemetryReporter :
ITelemetryReporter
Microsoft.CodeAnalysis.Remote.Razor (1)
src\Razor\src\Razor\src\Microsoft.VisualStudio.LanguageServices.Razor\Telemetry\TelemetryReporter.cs (1)
21
internal abstract partial class TelemetryReporter :
ITelemetryReporter
, IDisposable
Microsoft.VisualStudio.LanguageServices.Razor (1)
Telemetry\TelemetryReporter.cs (1)
21
internal abstract partial class TelemetryReporter :
ITelemetryReporter
, IDisposable
66 references to ITelemetryReporter
Microsoft.CodeAnalysis.Razor.Workspaces (14)
DocumentMapping\RazorEditService.cs (2)
29
ITelemetryReporter
telemetryReporter) : IRazorEditService
34
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
Telemetry\ITelemetryReporterExtensions.cs (5)
11
public static TelemetryScope BeginBlock(this
ITelemetryReporter
reporter, string name, Severity severity)
14
public static TelemetryScope BeginBlock(this
ITelemetryReporter
reporter, string name, Severity severity, Property property)
17
public static TelemetryScope BeginBlock(this
ITelemetryReporter
reporter, string name, Severity severity, Property property1, Property property2)
20
public static TelemetryScope BeginBlock(this
ITelemetryReporter
reporter, string name, Severity severity, Property property1, Property property2, Property property3)
23
public static TelemetryScope BeginBlock(this
ITelemetryReporter
reporter, string name, Severity severity, params ReadOnlySpan<Property> properties)
Telemetry\TelemetryScope.cs (7)
14
private readonly
ITelemetryReporter
? _reporter;
34
ITelemetryReporter
reporter,
77
public static TelemetryScope Create(
ITelemetryReporter
reporter, string name, Severity severity, TimeSpan minTimeToReport)
84
public static TelemetryScope Create(
ITelemetryReporter
reporter, string name, Severity severity, TimeSpan minTimeToReport, Property property)
92
public static TelemetryScope Create(
ITelemetryReporter
reporter, string name, Severity severity, TimeSpan minTimeToReport, Property property1, Property property2)
101
public static TelemetryScope Create(
ITelemetryReporter
reporter, string name, Severity severity, TimeSpan minTimeToReport, Property property1, Property property2, Property property3)
111
public static TelemetryScope Create(
ITelemetryReporter
reporter, string name, Severity severity, TimeSpan minTimeToReport, ReadOnlySpan<Property> properties)
Microsoft.CodeAnalysis.Remote.Razor (12)
Completion\RemoteCompletionService.cs (2)
45
private readonly
ITelemetryReporter
_telemetryReporter = args.ExportProvider.GetExportedValue<
ITelemetryReporter
>();
DocumentMapping\RemoteRazorEditService.cs (1)
25
ITelemetryReporter
telemetryReporter)
DocumentMapping\RemoteSpanMappingService.cs (2)
33
private readonly
ITelemetryReporter
_telemetryReporter = args.ExportProvider.GetExportedValue<
ITelemetryReporter
>();
ProjectSystem\RemoteSnapshotManager.cs (2)
19
internal sealed class RemoteSnapshotManager(IFilePathService filePathService,
ITelemetryReporter
telemetryReporter)
24
public
ITelemetryReporter
TelemetryReporter { get; } = telemetryReporter;
SemanticTokens\RemoteCSharpSemanticTokensProvider.cs (2)
24
ITelemetryReporter
telemetryReporter) : ICSharpSemanticTokensProvider
27
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.VisualStudio.LanguageServices.Razor\Telemetry\TelemetryReporter.cs (2)
451
private readonly
ITelemetryReporter
_telemetryReporter;
455
private TelemetrySessionManager(
ITelemetryReporter
telemetryReporter, TelemetrySession session, AggregatingTelemetryLogManager aggregatingManager)
Telemetry\OutOfProcessTelemetryReporter.cs (1)
11
[Export(typeof(
ITelemetryReporter
)), Shared]
Microsoft.VisualStudio.LanguageServices.Razor (26)
LanguageClient\Cohost\CohostDocumentPullDiagnosticsEndpoint.cs (1)
34
ITelemetryReporter
telemetryReporter,
LanguageClient\Cohost\HtmlRequestInvoker.cs (2)
25
ITelemetryReporter
telemetryReporter,
31
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
LanguageClient\Cohost\IncompatibleProjectNotifier.cs (2)
22
ITelemetryReporter
telemetryReporter,
28
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
LanguageClient\GeneratedVirtualDocument.cs (2)
13
internal abstract class GeneratedVirtualDocument<T>(Uri uri, ITextBuffer textBuffer,
ITelemetryReporter
telemetryReporter) : VirtualDocumentBase<T>(uri, textBuffer) where T : VirtualDocumentSnapshot
15
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
LanguageClient\HtmlVirtualDocument.cs (1)
10
internal class HtmlVirtualDocument(Uri uri, ITextBuffer textBuffer,
ITelemetryReporter
telemetryReporter)
LanguageClient\HtmlVirtualDocumentFactory.cs (2)
19
private readonly
ITelemetryReporter
_telemetryReporter;
27
ITelemetryReporter
telemetryReporter)
LanguageClient\Options\OptionsStorage.cs (1)
36
Lazy<
ITelemetryReporter
> telemetryReporter,
Remote\RemoteServiceInvoker.cs (2)
35
ITelemetryReporter
telemetryReporter,
43
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (2)
39
ITelemetryReporter
telemetryReporter)
45
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CohostInitializeReporter.cs (2)
14
internal class CohostInitializeReporter(
ITelemetryReporter
telemetryReporter) : IRazorCohostStartupService
18
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (2)
45
ITelemetryReporter
telemetryReporter,
56
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (2)
25
ITelemetryReporter
telemetryReporter,
33
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SemanticTokens\CohostSemanticTokensRangeEndpoint.cs (2)
27
ITelemetryReporter
telemetryReporter)
31
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
Telemetry\TelemetryReporter.cs (2)
451
private readonly
ITelemetryReporter
_telemetryReporter;
455
private TelemetrySessionManager(
ITelemetryReporter
telemetryReporter, TelemetrySession session, AggregatingTelemetryLogManager aggregatingManager)
Telemetry\VSTelemetryReporter.cs (1)
13
[Export(typeof(
ITelemetryReporter
))]
Microsoft.VisualStudioCode.RazorExtension (14)
Endpoints\DocumentPullDiagnosticsEndpoint.cs (1)
32
ITelemetryReporter
telemetryReporter,
Services\IncompatibleProjectNotifier.cs (2)
20
ITelemetryReporter
telemetryReporter,
24
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
Services\VSCodeTelemetryReporter.cs (1)
13
[Export(typeof(
ITelemetryReporter
))]
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (2)
39
ITelemetryReporter
telemetryReporter)
45
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CohostInitializeReporter.cs (2)
14
internal class CohostInitializeReporter(
ITelemetryReporter
telemetryReporter) : IRazorCohostStartupService
18
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (2)
45
ITelemetryReporter
telemetryReporter,
56
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (2)
25
ITelemetryReporter
telemetryReporter,
33
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SemanticTokens\CohostSemanticTokensRangeEndpoint.cs (2)
27
ITelemetryReporter
telemetryReporter)
31
private readonly
ITelemetryReporter
_telemetryReporter = telemetryReporter;