2 writes to Groups
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpClientFactory.cs (1)
82
options.
Groups
= Enumerable.Repeat(0, routes).Select(_ =>
Microsoft.Extensions.Http.Resilience.Tests (1)
Routing\OrderedRoutingStrategyTest.cs (1)
64
options.
Groups
= groups;
10 references to Groups
Microsoft.Extensions.Http.Resilience (2)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategyFactory.cs (1)
28
strategy.Initialize(_cache.Options.
Groups
);
Routing\OrderedGroupsRoutingOptions.cs (1)
14
/// This strategy picks the endpoint groups in he same order as they are specified in the <see cref="
Groups
"/> collection.
Microsoft.Extensions.Http.Resilience.Tests (8)
Hedging\StandardHedgingTests.cs (2)
315
g.
Groups
.Add(new UriEndpointGroup
320
g.
Groups
.Add(new UriEndpointGroup
Routing\OrderedRoutingStrategyTest.cs (6)
60
var groups = new List<UriEndpointGroup>(options.
Groups
)
70
options.
Groups
.Add(CreateGroup(new WeightedUriEndpoint { Uri = new Uri("https://c/"), Weight = 30 }));
76
routingBuilder.ConfigureOrderedGroups(options => options.
Groups
.Add(CreateGroup("https://dummy-route/")));
91
options.
Groups
.Add(group);
98
options.
Groups
.Add(group);
103
options.
Groups
.Add(null!);