2 instantiations of HeaderPropagationValues
Microsoft.AspNetCore.HeaderPropagation.Tests (2)
HeaderPropagationMessageHandlerTest.cs (1)
16
State = new
HeaderPropagationValues
();
HeaderPropagationMiddlewareTest.cs (1)
21
State = new
HeaderPropagationValues
();
14 references to HeaderPropagationValues
Microsoft.AspNetCore.HeaderPropagation (12)
DependencyInjection\HeaderPropagationApplicationBuilderExtensions.cs (1)
31
if (app.ApplicationServices.GetService<
HeaderPropagationValues
>() == null)
DependencyInjection\HeaderPropagationHttpClientBuilderExtensions.cs (2)
37
return new HeaderPropagationMessageHandler(options, services.GetRequiredService<
HeaderPropagationValues
>());
62
return new HeaderPropagationMessageHandler(options, services.GetRequiredService<
HeaderPropagationValues
>());
DependencyInjection\HeaderPropagationServiceCollectionExtensions.cs (1)
24
services.TryAddSingleton<
HeaderPropagationValues
>();
HeaderPropagationMessageHandler.cs (4)
15
private readonly
HeaderPropagationValues
_values;
24
public HeaderPropagationMessageHandler(HeaderPropagationMessageHandlerOptions options,
HeaderPropagationValues
values)
47
$"The {nameof(
HeaderPropagationValues
)}.{nameof(
HeaderPropagationValues
.Headers)} property has not been " +
HeaderPropagationMiddleware.cs (4)
18
private readonly
HeaderPropagationValues
_values;
26
/// The <see cref="
HeaderPropagationValues
"/> that stores the request headers to be propagated in an <see cref="System.Threading.AsyncLocal{T}"/>
28
public HeaderPropagationMiddleware(RequestDelegate next, IOptions<HeaderPropagationOptions> options,
HeaderPropagationValues
values)
40
/// Executes the middleware that stores the request headers to be propagated in using <see cref="
HeaderPropagationValues
"/>.
Microsoft.AspNetCore.HeaderPropagation.Tests (2)
HeaderPropagationMessageHandlerTest.cs (1)
34
public
HeaderPropagationValues
State { get; set; }
HeaderPropagationMiddlewareTest.cs (1)
31
public
HeaderPropagationValues
State { get; set; }