7 references to Current
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostBuilder.cs (1)
77
services.TryAddSingleton(DistributedContextPropagator.
Current
);
GenericHost\SlimWebHostBuilder.cs (1)
51
services.TryAddSingleton(DistributedContextPropagator.
Current
);
WebHostBuilder.cs (1)
289
services.TryAddSingleton(DistributedContextPropagator.
Current
);
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1197
DistributedContextPropagator.
Current
.Inject(currentActivity, invocationMessage, static (carrier, key, value) =>
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
862
var propagator = serviceProvider.GetService<DistributedContextPropagator>() ?? DistributedContextPropagator.
Current
;
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
56
internal DistributedContextPropagator? _activityHeadersPropagator = DistributedContextPropagator.
Current
;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
461
/// Defaults to <see cref="DistributedContextPropagator.
Current
"/>.