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