2 references to PipelineKeyOptions
Microsoft.Extensions.Http.Resilience (2)
Resilience\Internal\PipelineKeyProviderHelper.cs (2)
28
return provider.GetRequiredService<IOptionsMonitor<
PipelineKeyOptions
>>().Get(pipelineName).KeyProvider;
33
_ = services.AddOptions<
PipelineKeyOptions
>(pipelineName).Configure<IServiceProvider>((options, provider) => options.KeyProvider = factory(provider));