1 instantiation of HeaderPropagationOptions
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMiddlewareTest.cs (1)
20
Configuration = new
HeaderPropagationOptions
();
8 references to HeaderPropagationOptions
Microsoft.AspNetCore.HeaderPropagation (5)
DependencyInjection\HeaderPropagationHttpClientBuilderExtensions.cs (1)
31
var middlewareOptions = services.GetRequiredService<IOptions<
HeaderPropagationOptions
>>();
DependencyInjection\HeaderPropagationServiceCollectionExtensions.cs (2)
33
/// <param name="configureOptions">A delegate used to configure the <see cref="
HeaderPropagationOptions
"/>.</param>
35
public static IServiceCollection AddHeaderPropagation(this IServiceCollection services, Action<
HeaderPropagationOptions
> configureOptions)
HeaderPropagationMiddleware.cs (2)
17
private readonly
HeaderPropagationOptions
_options;
28
public HeaderPropagationMiddleware(RequestDelegate next, IOptions<
HeaderPropagationOptions
> options, HeaderPropagationValues values)
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
HeaderPropagationIntegrationTest.cs (1)
194
private async Task<IHost> CreateHost(Action<
HeaderPropagationOptions
> configure, HttpMessageHandler primaryHandler, Action<HeaderPropagationMessageHandlerOptions> configureClient = null)
HeaderPropagationMiddlewareTest.cs (2)
23
new OptionsWrapper<
HeaderPropagationOptions
>(Configuration),
30
public
HeaderPropagationOptions
Configuration { get; set; }