6 writes to Weight
Microsoft.Extensions.Http.Resilience (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
536
instance.
Weight
= ParseInt(value76, () => configuration.GetSection("Weight").Path);
540
instance.
Weight
= default;
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;
3 references to Weight
Microsoft.Extensions.Http.Resilience (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
396
if (!global::System.ComponentModel.DataAnnotations.Validator.TryValidateValue(options.
Weight
, context, validationResults, validationAttributes))
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (2)
83
return _groups.SelectByWeight(g => g.
Weight
, Randomizer);
92
return _groups.SelectByWeight(g => g.
Weight
, Randomizer);