1 instantiation of ResilienceHandlerContext
Microsoft.Extensions.Http.Resilience (1)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (1)
118
_ = builder.Services.AddResiliencePipeline<HttpKey, HttpResponseMessage>(key, (builder, context) => configure(builder, new
ResilienceHandlerContext
(context)));
3 references to ResilienceHandlerContext
Microsoft.Extensions.Http.Resilience (2)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (2)
59
Action<ResiliencePipelineBuilder<HttpResponseMessage>,
ResilienceHandlerContext
> configure)
113
Action<ResiliencePipelineBuilder<HttpResponseMessage>,
ResilienceHandlerContext
> configure)
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (1)
36
Assert.Throws<ArgumentNullException>(() => builder.AddResilienceHandler("dummy", (Action<ResiliencePipelineBuilder<HttpResponseMessage>,
ResilienceHandlerContext
>)null!));