13 references to ComponentsActivitySource
Microsoft.AspNetCore.Components (13)
RegisterRenderingMetricsServiceCollectionExtensions.cs (1)
41
services.TryAddScoped<
ComponentsActivitySource
>();
RenderHandle.cs (1)
26
internal
ComponentsActivitySource
? ComponentActivitySource => _renderer?.ComponentActivitySource;
RenderTree\Renderer.cs (8)
45
private readonly
ComponentsActivitySource
? _componentsActivitySource;
112
if (
ComponentsActivitySource
.IsSupported)
114
_componentsActivitySource = serviceProvider.GetService<
ComponentsActivitySource
>();
124
internal
ComponentsActivitySource
? ComponentActivitySource => _componentsActivitySource;
500
if (
ComponentsActivitySource
.IsSupported && ComponentActivitySource != null)
504
activityHandle =
ComponentsActivitySource
.StartHandleEventActivity(receiverName, methodName, attributeName);
559
if (
ComponentsActivitySource
.IsSupported && ComponentActivitySource != null && activityHandle.Activity != null)
573
if (
ComponentsActivitySource
.IsSupported && ComponentActivitySource != null && activityHandle.Activity != null)
Routing\Router.cs (3)
249
if (
ComponentsActivitySource
.IsSupported && _renderHandle.ComponentActivitySource != null)
307
if (
ComponentsActivitySource
.IsSupported && _renderHandle.ComponentActivitySource != null)
316
if (
ComponentsActivitySource
.IsSupported && _renderHandle.ComponentActivitySource != null)