6 writes to Endpoints
Microsoft.Extensions.Http.Resilience.PerformanceTests (2)
HttpClientFactory.cs (2)
86
Endpoints
= new[]
109
Endpoints
= new[]
Microsoft.Extensions.Http.Resilience.Tests (4)
Hedging\StandardHedgingTests.cs (2)
317
Endpoints
= [new WeightedUriEndpoint { Uri = new Uri($"https://{FailingEndpoint}:3000") }]
322
Endpoints
= [new WeightedUriEndpoint { Uri = new Uri("https://microsoft.com") }]
Routing\OrderedRoutingStrategyTest.cs (1)
116
Endpoints
= endpoint.ToList()
Routing\WeightedRoutingStrategyTest.cs (1)
176
Endpoints
= endpoint.ToList()
6 references to Endpoints
Microsoft.Extensions.Http.Resilience (2)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
41
nextRoute = group!.
Endpoints
.SelectByWeight(e => e.Weight, Randomizer!).Uri!;
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (1)
57
nextRoute = group!.
Endpoints
.SelectByWeight(e => e.Weight, Randomizer).Uri!;
Microsoft.Extensions.Http.Resilience.Tests (4)
Routing\OrderedRoutingStrategyTest.cs (2)
90
group.
Endpoints
.Single().Weight = 0;
97
group.
Endpoints
.Single().Weight = 99999;
Routing\WeightedRoutingStrategyTest.cs (2)
134
group.
Endpoints
.Single().Weight = 0;
146
group.
Endpoints
.Single().Weight = 99999;