58 references to IfNull
Microsoft.Extensions.Http.Resilience (58)
Hedging\HttpClientHedgingResiliencePredicates.cs (1)
49
_ = Throw.
IfNull
(exception);
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (3)
44
_ = Throw.
IfNull
(builder);
45
_ = Throw.
IfNull
(configure);
73
_ = Throw.
IfNull
(builder);
Hedging\StandardHedgingHandlerBuilderExtensions.cs (9)
30
_ = Throw.
IfNull
(builder);
31
_ = Throw.
IfNull
(section);
51
_ = Throw.
IfNull
(builder);
52
_ = Throw.
IfNull
(configure);
65
_ = Throw.
IfNull
(builder);
66
_ = Throw.
IfNull
(configure);
80
_ = Throw.
IfNull
(builder);
98
_ = Throw.
IfNull
(builder);
99
_ = Throw.
IfNull
(selectorFactory);
Polly\HttpClientResiliencePredicates.cs (2)
48
_ = Throw.
IfNull
(exception);
65
_ = Throw.
IfNull
(response);
Resilience\HttpResilienceContextExtensions.cs (2)
31
_ = Throw.
IfNull
(context);
43
_ = Throw.
IfNull
(context);
Resilience\HttpResilienceHttpRequestMessageExtensions.cs (2)
27
_ = Throw.
IfNull
(requestMessage);
51
_ = Throw.
IfNull
(requestMessage);
Resilience\HttpResiliencePipelineBuilderExtensions.cs (3)
23
_ = Throw.
IfNull
(builder);
39
_ = Throw.
IfNull
(builder);
40
_ = Throw.
IfNull
(selectorFactory);
Resilience\HttpStandardResiliencePipelineBuilderExtensions.cs (9)
27
_ = Throw.
IfNull
(builder);
28
_ = Throw.
IfNull
(section);
53
_ = Throw.
IfNull
(builder);
54
_ = Throw.
IfNull
(configure);
69
_ = Throw.
IfNull
(builder);
70
_ = Throw.
IfNull
(configure);
84
_ = Throw.
IfNull
(builder);
100
_ = Throw.
IfNull
(builder);
101
_ = Throw.
IfNull
(selectorFactory);
Resilience\ResilienceHandler.cs (4)
32
_pipelineProvider = Throw.
IfNull
(pipelineProvider);
42
_ = Throw.
IfNull
(pipeline);
55
_ = Throw.
IfNull
(request);
114
_ = Throw.
IfNull
(request);
Resilience\ResilienceHandlerContext.cs (1)
70
public void OnPipelineDisposed(Action callback) => _context.OnPipelineDisposed(Throw.
IfNull
(callback));
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (4)
38
_ = Throw.
IfNull
(builder);
40
_ = Throw.
IfNull
(configure);
61
_ = Throw.
IfNull
(builder);
63
_ = Throw.
IfNull
(configure);
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (5)
33
_ = Throw.
IfNull
(builder);
34
_ = Throw.
IfNull
(section);
51
_ = Throw.
IfNull
(builder);
52
_ = Throw.
IfNull
(configure);
68
_ = Throw.
IfNull
(builder);
Routing\RoutingStrategyBuilderExtensions.cs (12)
34
_ = Throw.
IfNull
(builder);
35
_ = Throw.
IfNull
(section);
49
_ = Throw.
IfNull
(builder);
50
_ = Throw.
IfNull
(configure);
63
_ = Throw.
IfNull
(builder);
64
_ = Throw.
IfNull
(configure);
79
_ = Throw.
IfNull
(builder);
80
_ = Throw.
IfNull
(section);
95
_ = Throw.
IfNull
(builder);
96
_ = Throw.
IfNull
(configure);
109
_ = Throw.
IfNull
(builder);
110
_ = Throw.
IfNull
(configure);
src\Shared\Pools\PoolFactory.cs (1)
57
_ = Throw.
IfNull
(policy);