1 write to _groups
Microsoft.Extensions.Http.Resilience (1)
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (1)
24
_groups
= [];
7 references to _groups
Microsoft.Extensions.Http.Resilience (7)
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (7)
34
_groups
.AddRange(groups);
43
_groups
.Clear();
67
if (
_groups
.Count == 0)
74
_ =
_groups
.Remove(nextGroup);
83
return
_groups
.SelectByWeight(g => g.Weight, Randomizer);
88
return
_groups
[0];
92
return
_groups
.SelectByWeight(g => g.Weight, Randomizer);