4 types derived from DistributedContextPropagator
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\LegacyPropagator.cs (1)
10internal sealed class LegacyPropagator : DistributedContextPropagator
System\Diagnostics\NoOutputPropagator.cs (1)
8internal sealed class NoOutputPropagator : DistributedContextPropagator
System\Diagnostics\PassThroughPropagator.cs (1)
8internal sealed class PassThroughPropagator : DistributedContextPropagator
System\Diagnostics\W3CPropagator.cs (1)
12internal sealed class W3CPropagator : DistributedContextPropagator
37 references to DistributedContextPropagator
Microsoft.AspNetCore.Diagnostics (2)
src\Shared\Diagnostics\ActivityCreator.cs (2)
15DistributedContextPropagator propagator, 17DistributedContextPropagator.PropagatorGetterCallback propagatorGetter,
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
src\Shared\Diagnostics\ActivityCreator.cs (2)
15DistributedContextPropagator propagator, 17DistributedContextPropagator.PropagatorGetterCallback propagatorGetter,
Microsoft.AspNetCore.Hosting (12)
GenericHost\GenericWebHostBuilder.cs (1)
77services.TryAddSingleton(DistributedContextPropagator.Current);
GenericHost\GenericWebHostService.cs (2)
24DistributedContextPropagator propagator, 54public DistributedContextPropagator Propagator { get; }
GenericHost\SlimWebHostBuilder.cs (1)
51services.TryAddSingleton(DistributedContextPropagator.Current);
Internal\HostingApplication.cs (1)
25DistributedContextPropagator propagator,
Internal\HostingApplicationDiagnostics.cs (2)
32private readonly DistributedContextPropagator _propagator; 41DistributedContextPropagator propagator,
Internal\WebHost.cs (2)
142var propagator = _applicationServices.GetRequiredService<DistributedContextPropagator>();
src\Shared\Diagnostics\ActivityCreator.cs (2)
15DistributedContextPropagator propagator, 17DistributedContextPropagator.PropagatorGetterCallback propagatorGetter,
WebHostBuilder.cs (1)
289services.TryAddSingleton(DistributedContextPropagator.Current);
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (1)
1112DistributedContextPropagator.CreateDefaultPropagator(),
HostingApplicationTests.cs (1)
197DistributedContextPropagator.CreateDefaultPropagator(),
HostingMetricsTests.cs (1)
204DistributedContextPropagator.CreateDefaultPropagator(),
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1197DistributedContextPropagator.Current.Inject(currentActivity, invocationMessage, static (carrier, key, value) =>
Microsoft.AspNetCore.SignalR.Core (5)
Internal\DefaultHubDispatcher.cs (3)
860var propagator = serviceProvider.GetService<DistributedContextPropagator>() ?? DistributedContextPropagator.Current;
src\Shared\Diagnostics\ActivityCreator.cs (2)
15DistributedContextPropagator propagator, 17DistributedContextPropagator.PropagatorGetterCallback propagatorGetter,
System.Diagnostics.DiagnosticSource (11)
System\Diagnostics\DistributedContextPropagator.cs (7)
18private static DistributedContextPropagator s_current = CreateDefaultPropagator(); 72public static DistributedContextPropagator Current 94public static DistributedContextPropagator CreateDefaultPropagator() => W3CPropagator.Instance; 100public static DistributedContextPropagator CreatePassThroughPropagator() => PassThroughPropagator.Instance; 105public static DistributedContextPropagator CreateW3CPropagator() => W3CPropagator.Instance; 116public static DistributedContextPropagator CreatePreW3CPropagator() => LegacyPropagator.Instance; 121public static DistributedContextPropagator CreateNoOutputPropagator() => NoOutputPropagator.Instance;
System\Diagnostics\LegacyPropagator.cs (1)
12internal static DistributedContextPropagator Instance { get; } = new LegacyPropagator();
System\Diagnostics\NoOutputPropagator.cs (1)
10internal static DistributedContextPropagator Instance { get; } = new NoOutputPropagator();
System\Diagnostics\PassThroughPropagator.cs (1)
10internal static DistributedContextPropagator Instance { get; } = new PassThroughPropagator();
System\Diagnostics\W3CPropagator.cs (1)
14internal static DistributedContextPropagator Instance { get; } = new W3CPropagator();
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
420public System.Diagnostics.DistributedContextPropagator? ActivityHeadersPropagator { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }