4 writes to Weight
Microsoft.Extensions.Http.Resilience.Tests (4)
Routing\WeightedRoutingStrategyTest.cs (4)
79
group.
Weight
= 20;
92
group.
Weight
= 30;
110
group.
Weight
= 0;
122
group.
Weight
= 99999;
2 references to Weight
Microsoft.Extensions.Http.Resilience (2)
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (2)
83
return _groups.SelectByWeight(g => g.
Weight
, Randomizer);
92
return _groups.SelectByWeight(g => g.
Weight
, Randomizer);