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