7 writes to Groups
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpClientFactory.cs (1)
105
options.
Groups
= Enumerable.Repeat(0, routes).Select(_ =>
Microsoft.Extensions.Http.Resilience.Tests (6)
Routing\WeightedRoutingStrategyTest.cs (6)
85
options.
Groups
= groups;
116
options.
Groups
= groups;
128
options.
Groups
= groups;
140
options.
Groups
= groups;
152
options.
Groups
= groups;
161
options.
Groups
= groups;
9 references to Groups
Microsoft.Extensions.Http.Resilience (1)
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategyFactory.cs (1)
28
strategy.Initialize(_cache.Options.
Groups
, _cache.Options.SelectionMode);
Microsoft.Extensions.Http.Resilience.Tests (8)
Routing\WeightedRoutingStrategyTest.cs (8)
81
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)
93
options.
Groups
.Add(group);
99
routingBuilder.ConfigureWeightedGroups(options => options.
Groups
.Add(CreateGroup("https://dummy-route/")));
112
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)
124
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)
136
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)
148
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)
157
var groups = new List<WeightedUriEndpointGroup>(options.
Groups
)